Bug 902816 - Fix for intermittent browser_console_private_browsing.js | This test exceeded the timeout threshold; r=me
authorMihai Sucan <mihai.sucan@gmail.com>
Mon, 09 Sep 2013 14:41:54 +0300
changeset 159292 ff8887d3a938d4f992d870b0cd59c02ce53fc39e
parent 159291 6f6bf27de9b51c7d96a69a7b8190468caee77797
child 159293 e7a6c3232f14630f9e868599eb10c7d1e02a75af
push id2961
push userlsblakk@mozilla.com
push dateMon, 28 Oct 2013 21:59:28 +0000
treeherdermozilla-beta@73ef4f13486f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs902816
milestone26.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 902816 - Fix for intermittent browser_console_private_browsing.js | This test exceeded the timeout threshold; r=me
browser/devtools/webconsole/test/browser_console_private_browsing.js
--- a/browser/devtools/webconsole/test/browser_console_private_browsing.js
+++ b/browser/devtools/webconsole/test/browser_console_private_browsing.js
@@ -10,16 +10,20 @@ function test()
 {
   const TEST_URI = "data:text/html;charset=utf8,<p>hello world! bug 874061" +
                    "<button onclick='console.log(\"foobar bug 874061\");" +
                    "fooBazBaz.yummy()'>click</button>";
   let ConsoleAPIStorage = Cu.import("resource://gre/modules/ConsoleAPIStorage.jsm", {}).ConsoleAPIStorage;
   let privateWindow, privateBrowser, privateTab, privateContent;
   let hud, expectedMessages, nonPrivateMessage;
 
+  // This test is slightly more involved: it opens the web console twice,
+  // a new private window once, and the browser console twice. We can get
+  // a timeout with debug builds on slower machines.
+  requestLongerTimeout(2);
   start();
 
   function start()
   {
     gBrowser.selectedTab = gBrowser.addTab("data:text/html;charset=utf8," +
                                            "<p>hello world! I am not private!");
     gBrowser.selectedBrowser.addEventListener("load", onLoadTab, true);
   }