summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-01-11 15:34:17 +0000
committerMoonchild <moonchild@palemoon.org>2022-01-11 15:34:17 +0000
commite5752cab067ef7ab71cc0639f93fd34918a346c1 (patch)
treeca15bca693d51121f33c5199774d8ca9e326f0e0 /js
parent9ff8e15c6effab231e3fe4e9d94e6d0f5bbeecd5 (diff)
downloadaura-central-e5752cab067ef7ab71cc0639f93fd34918a346c1.tar.gz
Issue %3051 - Neuter the user-facing controls for e10s
This should prevent people using a massive footgun that would blow off their entire legs. Requires appropriate FE changes.
Diffstat (limited to 'js')
-rw-r--r--js/xpconnect/src/XPCShellImpl.cpp2
-rw-r--r--js/xpconnect/src/XPCWrappedNativeScope.cpp3
2 files changed, 1 insertions, 4 deletions
diff --git a/js/xpconnect/src/XPCShellImpl.cpp b/js/xpconnect/src/XPCShellImpl.cpp
index 6c5fa3087..72ab89c40 100644
--- a/js/xpconnect/src/XPCShellImpl.cpp
+++ b/js/xpconnect/src/XPCShellImpl.cpp
@@ -1433,8 +1433,6 @@ XRE_XPCShellMain(int argc, char** argv, char** envp)
// Initialize graphics prefs on the main thread, if not already done
gfxPrefs::GetSingleton();
- // Initialize e10s check on the main thread, if not already done
- BrowserTabsRemoteAutostart();
#ifdef XP_WIN
// Plugin may require audio session if installed plugin can initialize
// asynchronized.
diff --git a/js/xpconnect/src/XPCWrappedNativeScope.cpp b/js/xpconnect/src/XPCWrappedNativeScope.cpp
index fdf27a5d6..4f4e9e740 100644
--- a/js/xpconnect/src/XPCWrappedNativeScope.cpp
+++ b/js/xpconnect/src/XPCWrappedNativeScope.cpp
@@ -247,8 +247,7 @@ CompartmentPerAddon()
static bool pref = false;
if (!initialized) {
- pref = Preferences::GetBool("dom.compartment_per_addon", false) ||
- BrowserTabsRemoteAutostart();
+ pref = Preferences::GetBool("dom.compartment_per_addon", false);
initialized = true;
}