Bug 1555688 - Force httpResponseProcessSelection on for browser_oopProcessSwap.js r=nika a=test-only
authorSebastian Hengst <archaeopteryx@coole-files.de>
Fri, 31 May 2019 19:00:10 +0000
changeset 536634 a6afed16db75cd107adb3157413cdfafb75894fa
parent 536633 fa85a070d83364097722aeb109b110eba62b51f8
child 536635 0d8fa616dda8cb1c5552e77cf917221c13b435da
push id2082
push userffxbld-merge
push dateMon, 01 Jul 2019 08:34:18 +0000
treeherdermozilla-release@2fb19d0466d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnika, test-only
bugs1555688
milestone68.0
Bug 1555688 - Force httpResponseProcessSelection on for browser_oopProcessSwap.js r=nika a=test-only Differential Revision: https://phabricator.services.mozilla.com/D33256
toolkit/components/remotebrowserutils/tests/browser/browser_oopProcessSwap.js
--- a/toolkit/components/remotebrowserutils/tests/browser/browser_oopProcessSwap.js
+++ b/toolkit/components/remotebrowserutils/tests/browser/browser_oopProcessSwap.js
@@ -1,8 +1,16 @@
+add_task(async function setupPrefs() {
+  await SpecialPowers.pushPrefEnv({
+    "set": [
+      ["browser.tabs.remote.useHTTPResponseProcessSelection", true],
+    ],
+  });
+});
+
 add_task(async function oopProcessSwap() {
   const FILE = fileURL("dummy_page.html");
   const WEB = httpURL("file_postmsg_parent.html");
 
   let win = await BrowserTestUtils.openNewBrowserWindow({fission: true});
 
   await BrowserTestUtils.withNewTab({gBrowser: win.gBrowser, url: FILE}, async browser => {
     is(browser.browsingContext.getChildren().length, 0);