Bug 1414514 - [mochitest] Dump http status when failing to load test manifest, r=jmaher
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Tue, 07 Nov 2017 13:57:33 -0500
changeset 443876 9cc431483c616fdcc2af815bcb2b34a2526100dc
parent 443875 2ff9e05a7dfe7298e718a734ed3472cf0b611c86
child 443877 26a70922efd74a004f2f2c5f0d1e2d35481ae554
push id1618
push userCallek@gmail.com
push dateThu, 11 Jan 2018 17:45:48 +0000
treeherdermozilla-release@882ca853e05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1414514
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1414514 - [mochitest] Dump http status when failing to load test manifest, r=jmaher MozReview-Commit-ID: 4yRSWa1m0Kt
testing/mochitest/manifestLibrary.js
--- a/testing/mochitest/manifestLibrary.js
+++ b/testing/mochitest/manifestLibrary.js
@@ -43,21 +43,21 @@ function getTestManifest(url, params, ca
   var req = new XMLHttpRequest();
   req.open("GET", url);
   req.onload = function() {
     if (req.readyState == 4) {
       if (req.status == 200) {
         try {
           parseTestManifest(JSON.parse(req.responseText), params, callback);
         } catch (e) {
-          dump("TEST-UNEXPECTED-FAIL: setup.js | error parsing " + url + " (" + e + ")\n");
+          dump("TEST-UNEXPECTED-FAIL: manifestLibrary.js | error parsing " + url + " (" + e + ")\n");
           throw e;
         }
       } else {
-        dump("TEST-UNEXPECTED-FAIL: setup.js | error loading " + url + "\n");
+        dump("TEST-UNEXPECTED-FAIL: manifestLibrary.js | error loading " + url + " (HTTP " + req.status + ")\n");
         callback({});
       }
     }
   }
   req.send();
 }
 
 // Test Filtering Code