зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
13ad569c28
Коммит
0a7a6c454b
|
@ -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({});
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче