gecko-dev/toolkit/components/extensions/test/xpcshell/head_e10s.js
Shane Caraveo 387891590a Bug 1400391 fix e10s xpcshell-test for remote webextensions, r=kmag
MozReview-Commit-ID: AgdmUNWLGaq

--HG--
extra : rebase_source : 3caf6ae08f5507a9d22a9f6b3d16766bd7f98964
2017-09-17 19:34:13 -07:00

10 lines
383 B
JavaScript

"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");
ExtensionTestUtils.remoteContentScripts = true;