Bug 1414514 - [mochitest] Dump http status when failing to load test manifest, r=jmaher

MozReview-Commit-ID: 4yRSWa1m0Kt

--HG--
extra : rebase_source : 2c72544c993015793005e912bf221a9e5abb710a
This commit is contained in:
Andrew Halberstadt 2017-11-07 13:57:33 -05:00
Родитель 13ad569c28
Коммит 0a7a6c454b
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -48,11 +48,11 @@ function getTestManifest(url, params, callback) {
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({});
}
}