Bug 1261842 - browser_423132.js no longer needs to wait for remoteness flip on initial browser of new window. r=Felipe
authorMike Conley <mconley@mozilla.com>
Wed, 08 Jun 2016 16:45:37 -0400
changeset 331319 afbc7b46955f31b5190cffd822db7fadcf131f23
parent 331318 fd8faeae82a4a51188756f169e71dc5e3a88acfa
child 331320 48fe1d6332b3f02ede8a3b3acc7fea3c1fc05a56
push id9858
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 14:37:10 +0000
treeherdermozilla-aurora@203106ef6cb6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersFelipe
bugs1261842
milestone50.0a1
Bug 1261842 - browser_423132.js no longer needs to wait for remoteness flip on initial browser of new window. r=Felipe MozReview-Commit-ID: 4QniZC8w7pA
browser/components/sessionstore/test/browser_423132.js
--- a/browser/components/sessionstore/test/browser_423132.js
+++ b/browser/components/sessionstore/test/browser_423132.js
@@ -68,19 +68,14 @@ function test() {
           cs.removeAll();
           BrowserTestUtils.closeWindow(newWin).then(finish);
         };
 
         function flushAndReady() {
           TabStateFlusher.flush(newWin.gBrowser.selectedBrowser).then(ready);
         }
 
-        if (newWin.gMultiProcessBrowser) {
-          let tab = newWin.gBrowser.selectedTab;
-          promiseTabRestored(tab).then(flushAndReady);
-        } else {
-          flushAndReady();
-        }
+        flushAndReady();
       }, true, testURL);
     });
   }, false);
 }