Bug 824016 - Intermittent devtools/webconsole/test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js | Timed out while waiting for: 4 web consoles opened (x2) + a leak); r=past a=ehsan
authorMihai Sucan <mihai.sucan@gmail.com>
Fri, 18 Jan 2013 13:02:40 +0200
changeset 127162 76b9e934a0fcaca4d9164d844a1adfeed51985a5
parent 127161 1292047d5d18b50a60b29cc4038e9dca0753fbef
child 127163 636f7b80515b88042ddc5165f46185aee9d4689c
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspast, ehsan
bugs824016
milestone20.0a2
Bug 824016 - Intermittent devtools/webconsole/test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js | Timed out while waiting for: 4 web consoles opened (x2) + a leak); r=past a=ehsan
browser/devtools/webconsole/test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js
--- a/browser/devtools/webconsole/test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js
+++ b/browser/devtools/webconsole/test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js
@@ -60,16 +60,17 @@ function openConsoles() {
       let window = hud.tab.linkedBrowser.contentWindow;
       window.console.log("message for tab " + index);
       consolesOpen++;
     }.bind(null, i));
   }
 
   waitForSuccess({
     name: "4 web consoles opened",
+    timeout: 15000,
     validatorFn: function()
     {
       return consolesOpen == 4;
     },
     successFn: closeConsoles,
     failureFn: closeConsoles,
   });
 }
@@ -94,16 +95,17 @@ function closeConsoles() {
 
   function onTimeout() {
     Services.obs.removeObserver(onWebConsoleClose, "web-console-destroyed");
     executeSoon(finishTest);
   }
 
   waitForSuccess({
     name: "4 web consoles closed",
+    timeout: 10000,
     validatorFn: function()
     {
       return consolesClosed == 4;
     },
     successFn: onTimeout,
     failureFn: onTimeout,
   });
 }