Bug 1274741 - Skip the Fetch nestedWorkerTest on Windows for causing frequent WinXP timeouts in other DOM mochitests. r=bkelly, a=test-only
authorRyan VanderMeulen <ryanvm@gmail.com>
Tue, 21 Jun 2016 16:07:19 -0400
changeset 341685 1e6a6a67f97b16f040d8adba4f9fc5756168311b
parent 341684 d4e7738bd2aa5a523ca2551c467458c9f3eac45a
child 341686 5d0e51438528869f0124ef6e9bdfa41c885fc377
push id1183
push userraliiev@mozilla.com
push dateMon, 05 Sep 2016 20:01:49 +0000
treeherdermozilla-release@3148731bed45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbkelly, test-only
bugs1274741
milestone49.0a2
Bug 1274741 - Skip the Fetch nestedWorkerTest on Windows for causing frequent WinXP timeouts in other DOM mochitests. r=bkelly, a=test-only
dom/tests/mochitest/fetch/fetch_test_framework.js
--- a/dom/tests/mochitest/fetch/fetch_test_framework.js
+++ b/dom/tests/mochitest/fetch/fetch_test_framework.js
@@ -136,17 +136,19 @@ function testScript(script) {
   setupPrefs()
     .then(function() {
       return windowTest();
     })
     .then(function() {
       return workerTest();
     })
     .then(function() {
-      return nestedWorkerTest();
+      // XXX Bug 1281212 - This makes other, unrelated test suites fail, primarily on WinXP.
+      let isWin = navigator.platform.indexOf("Win") == 0;
+      return isWin ? undefined : nestedWorkerTest();
     })
     .then(function() {
       return serviceWorkerTest();
     })
     .catch(function(e) {
       ok(false, "Some test failed in " + script);
       info(e);
       info(e.message);