Bug 1261842 - browser_async_window_flushing.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:22:13 -0400
changeset 330718 6eaa642a93e1707ae917f9e6f61242ecef36c658
parent 330717 855931929739ab4f44ff92f7549b4d80348b580b
child 330719 20eb3987a721a2c0a312868cf52dbf2f43563236
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_async_window_flushing.js no longer needs to wait for remoteness flip on initial browser of new window. r=felipe MozReview-Commit-ID: E74rDTQ2FjX
browser/components/sessionstore/test/browser_async_window_flushing.js
--- a/browser/components/sessionstore/test/browser_async_window_flushing.js
+++ b/browser/components/sessionstore/test/browser_async_window_flushing.js
@@ -31,25 +31,16 @@ add_task(function* test_add_interesting_
 
   // Send a message that will cause the content to change its location
   // to someplace more interesting. We've disabled auto updates from
   // the browser, so the parent won't know about this
   yield ContentTask.spawn(browser, PAGE, function*(PAGE) {
     content.location = PAGE;
   });
 
-  // for e10s, this will cause a remoteness switch, since the
-  // initial browser in a newly opened window will not be remote.
-  // We need to wait for that remoteness change before we attach
-  // our OnHistoryReplaceEntry listener.
-  if (gMultiProcessBrowser) {
-    yield BrowserTestUtils.waitForEvent(newWin.gBrowser.selectedTab,
-                                        "TabRemotenessChange");
-  }
-
   yield promiseContentMessage(browser, "ss-test:OnHistoryReplaceEntry");
 
   // Clear out the userTypedValue so that the new window looks like
   // it's really not worth restoring.
   browser.userTypedValue = null;
 
   // Once the domWindowClosed Promise resolves, the window should
   // have closed, and SessionStore's onClose handler should have just