Bug 1397426 - Stop disabling tab warming in browser_bug343515.js. r?billm draft
authorMike Conley <mconley@mozilla.com>
Mon, 25 Sep 2017 13:58:09 -0400
changeset 672197 0e3bf6d1f8b717be2beac36e78fd9c4f4dfeb98d
parent 672196 c227caf01f72f4aee41ca12acab9b349b4f33dee
child 672198 7817f513c82b7bca291362b890565f1c25010612
push id82187
push userbmo:mconley@mozilla.com
push dateThu, 28 Sep 2017 22:04:21 +0000
reviewersbillm
bugs1397426, 343515
milestone57.0a1
Bug 1397426 - Stop disabling tab warming in browser_bug343515.js. r?billm Tab warming was originally disabled in this test because it was accidentally setting the DocShell to be active at an unexpected time. Because tab warming no longer activates DocShells, we can revert this change. MozReview-Commit-ID: K0fiA5AVfEm
docshell/test/navigation/browser_bug343515.js
--- a/docshell/test/navigation/browser_bug343515.js
+++ b/docshell/test/navigation/browser_bug343515.js
@@ -32,24 +32,16 @@ function waitForPageshow(aBrowser, callb
   }).then(callback);
 }
 
 // Entry point from Mochikit
 function test() {
 
   // Lots of callbacks going on here
   waitForExplicitFinish();
-
-  // Begin the test. First, we disable tab warming because it's
-  // possible for the mouse to be over one of the tabs during
-  // this test, warm it up, and cause this test to fail intermittently
-  // in automation.
-  SpecialPowers.pushPrefEnv({
-    set: [["browser.tabs.remote.warmup.enabled", false]],
-  }).then(step1);
 }
 
 function step1() {
 
   // Get a handle on the initial tab
   ctx.tab0 = gBrowser.selectedTab;
   ctx.tab0Browser = gBrowser.getBrowserForTab(ctx.tab0);