author | Mike Conley <mconley@mozilla.com> |
Wed, 08 Jun 2016 16:22:13 -0400 (2016-06-08) | |
changeset 306257 | 715de7740db10b6c1bbdeea0c82132a95af3f788 |
parent 306256 | 48fe1d6332b3f02ede8a3b3acc7fea3c1fc05a56 |
child 306258 | e9090cf2576f79ed6e6344f8f1c92488502f9a81 |
push id | 30482 |
push user | cbook@mozilla.com |
push date | Mon, 25 Jul 2016 13:47:00 +0000 (2016-07-25) |
treeherder | mozilla-central@f44bb9de08ad [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | Felipe |
bugs | 1261842 |
milestone | 50.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
browser/components/sessionstore/test/browser_async_window_flushing.js | file | annotate | diff | comparison | revisions |
--- 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