Bug 1261842 - browser_423132.js no longer needs to wait for remoteness flip on initial browser of new window. r=felipe
☠☠ backed out by ad32bf1994e9 ☠ ☠
authorMike Conley <mconley@mozilla.com>
Wed, 08 Jun 2016 16:45:37 -0400
changeset 330716 1240345f5624539c14543dc21888ce1f74f9059b
parent 330715 ce46ebf231c1d679c9bc7abc28f774538b5a1362
child 330717 855931929739ab4f44ff92f7549b4d80348b580b
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);
 }