Bug 989226 - Double the test timeout. a=test-only
authorEhsan Akhgari <ehsan@mozilla.com>
Sun, 30 Mar 2014 09:45:28 -0400
changeset 191455 07bd6e9168b51a5c161bc931427101f09dec179d
parent 191454 f360bf96ba15976a0602f6bce1d8e42e994d3a8b
child 191456 03e39232d86f5bfe08a1d1f170266eb6b07428ee
push id3503
push userraliiev@mozilla.com
push dateMon, 28 Apr 2014 18:51:11 +0000
treeherdermozilla-beta@c95ac01e332e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs989226
milestone30.0a2
Bug 989226 - Double the test timeout. a=test-only
browser/devtools/scratchpad/test/browser_scratchpad_reload_and_run.js
--- a/browser/devtools/scratchpad/test/browser_scratchpad_reload_and_run.js
+++ b/browser/devtools/scratchpad/test/browser_scratchpad_reload_and_run.js
@@ -7,16 +7,17 @@ let DEVTOOLS_CHROME_ENABLED = "devtools.
 let EDITOR_TEXT = [
   "var evt = new CustomEvent('foo', { bubbles: true });",
   "document.body.innerHTML = 'Modified text';",
   "window.dispatchEvent(evt);"
 ].join("\n");
 
 function test()
 {
+  requestLongerTimeout(2);
   waitForExplicitFinish();
   Services.prefs.setBoolPref(DEVTOOLS_CHROME_ENABLED, true);
 
   gBrowser.selectedTab = gBrowser.addTab();
   gBrowser.selectedBrowser.addEventListener("load", function onLoad() {
     gBrowser.selectedBrowser.removeEventListener("load", onLoad, true);
     openScratchpad(runTests);
   }, true);