Bug 1079617 - Increase the timeout of browser_test_new_window_from_content.js. a=test-only
authorEhsan Akhgari <ehsan@mozilla.com>
Sun, 26 Apr 2015 11:50:06 -0400
changeset 260282 1783df5849c7
parent 260281 611ca5bd91d4
child 260283 a7d6b32a504c
push id738
push userryanvm@gmail.com
push date2015-04-27 15:52 +0000
treeherdermozilla-release@a4f506639153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs1079617
milestone38.0b8
Bug 1079617 - Increase the timeout of browser_test_new_window_from_content.js. a=test-only
dom/tests/browser/browser_test_new_window_from_content.js
--- a/dom/tests/browser/browser_test_new_window_from_content.js
+++ b/dom/tests/browser/browser_test_new_window_from_content.js
@@ -44,16 +44,18 @@ const kXULNS = "http://www.mozilla.org/k
 const kContentDoc = "http://www.example.com/browser/dom/tests/browser/test_new_window_from_content_child.html";
 const kContentScript = "chrome://mochitests/content/browser/dom/tests/browser/test_new_window_from_content_child.js";
 const kNewWindowPrefKey = "browser.link.open_newwindow";
 const kNewWindowRestrictionPrefKey = "browser.link.open_newwindow.restriction";
 const kSameTab = "same tab";
 const kNewWin = "new window";
 const kNewTab = "new tab";
 
+requestLongerTimeout(2);
+
 // The following "matrices" represent the result of content attempting to
 // open a window with window.open with the default feature set. The key of
 // the kWinOpenDefault object represents the value of browser.link.open_newwindow.
 // The value for each key is an array that represents the result (either opening
 // the link in the same tab, a new window, or a new tab), where the index of each
 // result maps to the browser.link.open_newwindow.restriction pref. I've tried
 // to illustrate this more clearly in the kWinOpenDefault object.
 const kWinOpenDefault = {