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

This commit is contained in:
Dave Townsend 2015-03-16 11:19:34 -07:00
parent 3b06c62e39
commit f8727e46bc

View File

@ -22,7 +22,7 @@ add_task(function*() {
win = SessionStore.undoCloseWindow(0);
yield BrowserTestUtils.waitForEvent(win, "load", 10000);
yield BrowserTestUtils.waitForEvent(win.gBrowser.tabs[0], "SSTabRestored");
yield BrowserTestUtils.waitForEvent(win.gBrowser.tabs[0], "SSTabRestored", 10000);
is(win.gBrowser.tabs.length, 1, "Should have restored one tab");
is(win.gBrowser.selectedBrowser.currentURI.spec, uri, "Should have restored the right page");