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 267233 2bbb24c27ad8a9cc8c6b1de1a09bfb3ebfb167c2
parent 267232 a53c2a56fc340ed612368bac1a6d34725f264e0b
child 267234 f628845b9e9f28bca4cdbe94535e3145f0b47381
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs1079617
milestone39.0a2
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 = {