зеркало из https://github.com/mozilla/gecko-dev.git
Bug 738992: add some debug logging to try and figure out why this test fails intermittently
This commit is contained in:
Родитель
b54abd8d84
Коммит
008fe44520
|
@ -61,6 +61,7 @@ function test_asyncFetchBadCert() {
|
|||
|
||||
// Now try a valid request
|
||||
NetUtil.asyncFetch("https://example.com", function (aInputStream, aStatusCode, aRequest) {
|
||||
info("aStatusCode for valid request: " + aStatusCode);
|
||||
ok(Components.isSuccessCode(aStatusCode), "request succeeded");
|
||||
ok(aRequest instanceof Ci.nsIHttpChannel, "request is an nsIHttpChannel");
|
||||
ok(aRequest.requestSucceeded, "HTTP request succeeded");
|
||||
|
|
Загрузка…
Ссылка в новой задаче