Index: LayoutTests/http/tests/xmlhttprequest/simple-cross-origin-progress-events.html |
diff --git a/LayoutTests/http/tests/xmlhttprequest/simple-cross-origin-progress-events.html b/LayoutTests/http/tests/xmlhttprequest/simple-cross-origin-progress-events.html |
index f9444e9e02f12d8b607ee91a7a95e745f69982be..42e375b9ba180b27f17c428f046fa1c1b0a70b6a 100644 |
--- a/LayoutTests/http/tests/xmlhttprequest/simple-cross-origin-progress-events.html |
+++ b/LayoutTests/http/tests/xmlhttprequest/simple-cross-origin-progress-events.html |
@@ -103,12 +103,12 @@ function test3() |
xhr.upload.onload = function() { log("FAIL: upload.onload") } |
xhr.upload.onerror = function() { |
log("upload.onerror (expected)") |
- if (window.testRunner) |
- testRunner.notifyDone(); |
} |
xhr.onerror = function() { |
log("onerror (expected)"); |
log("Response length: " + xhr.responseText.length); |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
} |
xhr.onload = function() { |
log("onload"); |