Bug 1381961 - Enabled shared global for JSMs pref. r=kmag
MozReview-Commit-ID: 6WUH9TZczQ9
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5246,17 +5246,17 @@ pref("dom.idle-observers-api.fuzz_time.d
// they are handled separately. This pref is only read once at startup:
// a restart is required to enable a new value.
pref("network.activity.blipIntervalMilliseconds", 0);
// If true, reuse the same global for (almost) everything loaded by the component
// loader (JS components, JSMs, etc). This saves memory, but makes it possible
// for the scripts to interfere with each other. A restart is required for this
// to take effect.
-pref("jsloader.shareGlobal", false);
+pref("jsloader.shareGlobal", true);
// When we're asked to take a screenshot, don't wait more than 2000ms for the
// event loop to become idle before actually taking the screenshot.
pref("dom.browserElement.maxScreenshotDelayMS", 2000);
// Whether we should show the placeholder when the element is focused but empty.
pref("dom.placeholder.show_on_focus", true);