Bug 1284763 - Request longer timeout for test_anchor_area_referrer.html. r=jmaher, a=test-only
authorGeoff Brown <gbrown@mozilla.com>
Thu, 30 Mar 2017 21:42:02 -0600
changeset 379362 867ef9db3daf316b5821e06ff5bbca02e8ca0db5
parent 379361 939c485875a5a118ff7b6c79c79986d818b70a38
child 379363 98bf63856a7bbfc99deb3af2eb5988753b56b1f6
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher, test-only
bugs1284763
milestone53.0
Bug 1284763 - Request longer timeout for test_anchor_area_referrer.html. r=jmaher, a=test-only This test runs 276 seconds on average on Android Debug; when it takes longer than 300 seconds, the test times out, producing intermittent failures.
dom/base/test/test_anchor_area_referrer.html
--- a/dom/base/test/test_anchor_area_referrer.html
+++ b/dom/base/test/test_anchor_area_referrer.html
@@ -9,16 +9,18 @@
   <!--
   Testing that anchor and area referrer attributes are honoured correctly
   * anchor tag with referrer attribute (generate-anchor-policy-test)
   https://bugzilla.mozilla.org/show_bug.cgi?id=1174913
   -->
 
   <script type="application/javascript;version=1.8">
 
+  SimpleTest.requestLongerTimeout(2);
+
   const SJS = "://example.com/tests/dom/base/test/referrer_testserver.sjs?";
   const PARAMS = ["ATTRIBUTE_POLICY", "NEW_ATTRIBUTE_POLICY", "META_POLICY", "REL", "SCHEME_FROM", "SCHEME_TO"];
 
   const testCases = [
     {ACTION: ["generate-anchor-policy-test", "generate-area-policy-test"],
       TESTS: [
         {ATTRIBUTE_POLICY: 'unsafe-url',
          NAME: 'unsafe-url-with-origin-in-meta',