Bug 1143118: Fix intermittent test browser_tab_detach_restore.js. r=ttaubert

--HG--
extra : rebase_source : 0e3e455a31081c73f5c053f1e8a3a7609759da9d
This commit is contained in:
Dave Townsend 2015-03-13 12:56:16 -07:00
parent 39dd9eab84
commit 6784c36c12

View File

@ -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");