Skip to content
Snippets Groups Projects
Verified Commit 693c5fb9 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

fixup! Bug 3455: Add DomainIsolator, for isolating circuit by domain.

TorStartupService is not launched on Android, so initialize FPI in
another script that is used by GV (and only once, if I understand
correctly).
parent 54828940
Branches
No related merge requests found
......@@ -17,6 +17,7 @@ ChromeUtils.defineESModuleGetters(lazy, {
PdfJs: "resource://pdf.js/PdfJs.sys.mjs",
Preferences: "resource://gre/modules/Preferences.sys.mjs",
RFPHelper: "resource://gre/modules/RFPHelper.sys.mjs",
TorDomainIsolator: "resource://gre/modules/TorDomainIsolator.sys.mjs",
});
const { XPCOMUtils } = ChromeUtils.importESModule(
......@@ -258,6 +259,8 @@ class GeckoViewStartup {
"GeckoView:SetLocale",
]);
lazy.TorDomainIsolator.init();
Services.obs.addObserver(this, "browser-idle-startup-tasks-finished");
Services.obs.addObserver(this, "handlersvc-store-initialized");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment