From f8727e46bcb7f3e17211c73b0b34b80c639c3afa Mon Sep 17 00:00:00 2001 From: Dave Townsend Date: Mon, 16 Mar 2015 11:19:34 -0700 Subject: [PATCH] Bug 1143118: Fix intermittent browser_tab_detach_restore.js. r=ttaubert --- browser/base/content/test/general/browser_tab_detach_restore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");