| Index: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/failed-auth.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/failed-auth.html b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/failed-auth.html
|
| index c6b555e3c9af94a5ec408602f1d9abcaa29f00f7..b16e499140a18606fac4d16cc0b3780a154a1506 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/failed-auth.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/failed-auth.html
|
| @@ -12,11 +12,6 @@ function checkResult(n, code) {
|
| ((code == 401) ? " OK" : (" " + code + " != 401"));
|
| }
|
|
|
| -function checkFailure(n, code) {
|
| - document.getElementsByTagName("li")[n - 1].firstChild.nodeValue +=
|
| - ((code == 0) ? " OK" : (" " + code + " != 0"));
|
| -}
|
| -
|
| function log(n, message) {
|
| document.getElementsByTagName("li")[n - 1].firstChild.nodeValue +=
|
| " " + message;
|
| @@ -69,7 +64,7 @@ function test4() {
|
| r.open("GET", "resources/basic-auth/basic-auth.php?uid=login4", true, "badname", "passpw");
|
| r.onreadystatechange = function() {
|
| if (r.readyState == 4) {
|
| - checkFailure(4, r.status);
|
| + checkResult(4, r.status);
|
| testRunner.notifyDone();
|
| }
|
| };
|
|
|