Bug 1381961 - Enabled shared global for JSMs pref. r=kmag,tcampbell
authorAndrew McCreight <continuation@gmail.com>
Tue, 18 Jul 2017 13:00:41 -0700
changeset 665700 dd653d5758d5cdbdc22e942eb54468a12400aa5c
parent 665699 c3c6406d94b5bf317aa0bf35068c6f1aaeb4f45a
child 665701 3b21f5d72f54df2e34ffded24011eaa48f63c6b0
push id80148
push userbmo:emilio@crisal.io
push dateFri, 15 Sep 2017 20:59:22 +0000
reviewerskmag, tcampbell
Bug 1381961 - Enabled shared global for JSMs pref. r=kmag,tcampbell MozReview-Commit-ID: 6WUH9TZczQ9
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5245,17 +5245,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);