summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/loader
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-03-01 14:35:14 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-03-01 14:35:14 -0500
commitba2c2e5301bb2d993984c62cdf2fd07b361e6bca (patch)
treeaa7420c3256f4917e427eaa62292cc8b10e378e0 /js/xpconnect/loader
parent11a8a39f6d2e057d51559c52c1bf0ba74bbfe189 (diff)
downloadUXP-ba2c2e5301bb2d993984c62cdf2fd07b361e6bca.tar
UXP-ba2c2e5301bb2d993984c62cdf2fd07b361e6bca.tar.gz
UXP-ba2c2e5301bb2d993984c62cdf2fd07b361e6bca.tar.lz
UXP-ba2c2e5301bb2d993984c62cdf2fd07b361e6bca.tar.xz
UXP-ba2c2e5301bb2d993984c62cdf2fd07b361e6bca.zip
Remove MOZ_MULET
Diffstat (limited to 'js/xpconnect/loader')
-rw-r--r--js/xpconnect/loader/mozJSComponentLoader.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/js/xpconnect/loader/mozJSComponentLoader.cpp b/js/xpconnect/loader/mozJSComponentLoader.cpp
index 95c214867..85591bc8a 100644
--- a/js/xpconnect/loader/mozJSComponentLoader.cpp
+++ b/js/xpconnect/loader/mozJSComponentLoader.cpp
@@ -306,14 +306,6 @@ mozJSComponentLoader::ReallyInit()
mReuseLoaderGlobal = Preferences::GetBool("jsloader.reuseGlobal");
- // XXXkhuey B2G child processes have some sort of preferences race that
- // results in getting the wrong value.
- // But we don't want that on Firefox Mulet as it break most Firefox JSMs...
- // Also disable on debug builds to break js components that rely on this.
-#if defined(MOZ_B2G) && !defined(MOZ_MULET) && !defined(DEBUG)
- mReuseLoaderGlobal = true;
-#endif
-
nsCOMPtr<nsIScriptSecurityManager> secman =
do_GetService(NS_SCRIPTSECURITYMANAGER_CONTRACTID);
if (!secman)