mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Bug 1143118: Fix intermittent test browser_tab_detach_restore.js. r=ttaubert
--HG-- extra : rebase_source : 0e3e455a31081c73f5c053f1e8a3a7609759da9d
This commit is contained in:
parent
39dd9eab84
commit
6784c36c12
@ -21,7 +21,7 @@ add_task(function*() {
|
||||
is(SessionStore.getClosedWindowCount(), 1, "Should have restore data for the closed window");
|
||||
|
||||
win = SessionStore.undoCloseWindow(0);
|
||||
yield BrowserTestUtils.waitForEvent(win, "load");
|
||||
yield BrowserTestUtils.waitForEvent(win, "load", 10000);
|
||||
yield BrowserTestUtils.waitForEvent(win.gBrowser.tabs[0], "SSTabRestored");
|
||||
|
||||
is(win.gBrowser.tabs.length, 1, "Should have restored one tab");
|
||||
|
Loading…
Reference in New Issue
Block a user