diff --git a/browser/base/content/test/general/browser_tab_detach_restore.js b/browser/base/content/test/general/browser_tab_detach_restore.js index ea5994d1932..0557c9e1566 100644 --- a/browser/base/content/test/general/browser_tab_detach_restore.js +++ b/browser/base/content/test/general/browser_tab_detach_restore.js @@ -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");