Bug 1549855 - actually run webextension xpcshell tests using e10s, r=zombie
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Fri, 17 May 2019 09:25:01 +0000
changeset 533122 83894232a6bd36b0cf6278f8c878a4f3143b92dd
parent 533121 057ee1d004ccdcc2f88d333824bc69080352914a
child 533123 139abe6b4223b612cde09672f384f5f7fad7e53b
push id11276
push userrgurzau@mozilla.com
push dateMon, 20 May 2019 13:11:24 +0000
treeherdermozilla-beta@847755a7c325 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerszombie
bugs1549855
milestone68.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 1549855 - actually run webextension xpcshell tests using e10s, r=zombie Differential Revision: https://phabricator.services.mozilla.com/D31416
toolkit/components/extensions/test/xpcshell/head_e10s.js
--- a/toolkit/components/extensions/test/xpcshell/head_e10s.js
+++ b/toolkit/components/extensions/test/xpcshell/head_e10s.js
@@ -1,10 +1,8 @@
 "use strict";
 
 /* globals ExtensionTestUtils */
 
-// We want to force enable e10s so we can test remote extensions
-Services.prefs.setBoolPref("browser.tabs.remote.force-enable", true);
-// This causes nsIXULRuntime.browserTabsRemoteAutostart to reset and force e10s
-Services.prefs.setStringPref("e10s.rollout.cohort", "xpcshell-test");
+// xpcshell disables e10s by default. Turn it on.
+Services.prefs.setBoolPref("browser.tabs.remote.autostart", true);
 
 ExtensionTestUtils.remoteContentScripts = true;