Bug 863943 - Fix for intermittent browser_webconsole_bug_602572_log_bodies_checkbox.js | Test timed out; r=me
authorMihai Sucan <mihai.sucan@gmail.com>
Wed, 01 May 2013 18:36:19 +0300
changeset 130486 90b8801cd9a942df577872af64ca0725ade2e250
parent 130485 9c106165889d8a965e79df9b8d077bc35c4db1b8
child 130487 77969f0c3ffd2c0386aa12f61515ece12e77a01b
push id1579
push userphilringnalda@gmail.com
push dateSat, 04 May 2013 04:38:04 +0000
treeherderfx-team@a56432a42a41 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs863943
milestone23.0a1
Bug 863943 - Fix for intermittent browser_webconsole_bug_602572_log_bodies_checkbox.js | Test timed out; r=me
browser/devtools/webconsole/test/browser_webconsole_bug_602572_log_bodies_checkbox.js
--- a/browser/devtools/webconsole/test/browser_webconsole_bug_602572_log_bodies_checkbox.js
+++ b/browser/devtools/webconsole/test/browser_webconsole_bug_602572_log_bodies_checkbox.js
@@ -7,16 +7,20 @@
  *   Mihai Șucan <mihai.sucan@gmail.com>
  *
  * ***** END LICENSE BLOCK ***** */
 
 let menuitems = [], menupopups = [], huds = [], tabs = [], runCount = 0;
 
 function test()
 {
+  if (runCount == 0) {
+    requestLongerTimeout(2);
+  }
+
   // open tab 1
   addTab("data:text/html;charset=utf-8,Web Console test for bug 602572: log bodies checkbox. tab 1");
   tabs.push(tab);
 
   browser.addEventListener("load", function onLoad1(aEvent) {
     browser.removeEventListener(aEvent.type, onLoad1, true);
 
     openConsole(null, (hud) => hud.iframeWindow.mozRequestAnimationFrame(() => {