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 849693442e
commit 7980d8b47e

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