Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Unified Diff: LayoutTests/http/tests/xmlhttprequest/simple-cross-origin-progress-events.html

Issue 20560007: On request error, always fire events on the XMLHttpRequestUpload before the XMLHttpRequest (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/xmlhttprequest/simple-cross-origin-progress-events-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
« no previous file with comments | « no previous file | LayoutTests/http/tests/xmlhttprequest/simple-cross-origin-progress-events-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698