Bug 1357487: Enable OOP extensions by default on all platforms. r=aswan
authorKris Maglione <maglione.k@gmail.com>
Wed, 25 Jul 2018 10:29:20 -0700
changeset 430102 cb97b513e80eacbf60518002acd95f1591023bc7
parent 430101 a4b6c12158a9c47b5d75024e3f29cc6114be861d
child 430103 7de885437dfef0915aaa6454c9ec0aa656d6f9ec
push id34383
push usernerli@mozilla.com
push dateSat, 04 Aug 2018 12:28:43 +0000
treeherdermozilla-central@4146a5857135 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaswan
bugs1357487
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1357487: Enable OOP extensions by default on all platforms. r=aswan MozReview-Commit-ID: L2Pm1frQbmo
browser/app/profile/firefox.js
browser/components/extensions/test/browser/browser_ext_browserAction_popup_preload.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -65,20 +65,17 @@ pref("extensions.geckoProfiler.getSymbol
 pref("extensions.geckoProfiler.getSymbolRules", "localBreakpad,dump_syms.exe");
 #endif
 
 
 // Add-on content security policies.
 pref("extensions.webextensions.base-content-security-policy", "script-src 'self' https://* moz-extension: blob: filesystem: 'unsafe-eval' 'unsafe-inline'; object-src 'self' https://* moz-extension: blob: filesystem:;");
 pref("extensions.webextensions.default-content-security-policy", "script-src 'self'; object-src 'self';");
 
-#if defined(XP_WIN) || defined(XP_MACOSX)
 pref("extensions.webextensions.remote", true);
-#endif
-
 pref("extensions.webextensions.background-delayed-startup", true);
 
 // Extensions that should not be flagged as legacy in about:addons
 pref("extensions.legacy.exceptions", "testpilot@cliqz.com,@testpilot-containers,jid1-NeEaf3sAHdKHPA@jetpack,@activity-streams,pulse@mozilla.com,@testpilot-addon,@min-vid,tabcentertest1@mozilla.com,snoozetabs@mozilla.com,speaktome@mozilla.com,hoverpad@mozilla.com");
 
 // Require signed add-ons by default
 pref("extensions.langpacks.signatures.required", true);
 pref("xpinstall.signatures.required", true);
--- a/browser/components/extensions/test/browser/browser_ext_browserAction_popup_preload.js
+++ b/browser/components/extensions/test/browser/browser_ext_browserAction_popup_preload.js
@@ -197,15 +197,17 @@ add_task(async function testBrowserActio
   // Make sure the mouse isn't hovering over the browserAction widget.
   EventUtils.synthesizeMouseAtCenter(win.gURLBar, {type: "mouseover"}, win);
 
   await extension.startup();
 
   let widget = getBrowserActionWidget(extension).forWindow(win);
   EventUtils.synthesizeMouseAtCenter(widget.node, {type: "mousedown", button: 0}, win);
 
-  await extension.awaitMessage("tabTitle");
+  await new Promise(resolve => setTimeout(resolve, 100));
 
   EventUtils.synthesizeMouseAtCenter(widget.node, {type: "mouseup", button: 0}, win);
 
+  await extension.awaitMessage("tabTitle");
+
   await extension.unload();
   await BrowserTestUtils.closeWindow(win);
 });