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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/upload-request-error-event-order-expected.txt

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
Index: LayoutTests/http/tests/xmlhttprequest/upload-request-error-event-order-expected.txt
diff --git a/LayoutTests/http/tests/xmlhttprequest/upload-request-error-event-order-expected.txt b/LayoutTests/http/tests/xmlhttprequest/upload-request-error-event-order-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..146701aad9923d9ef48cc78632cefcc389850606
--- /dev/null
+++ b/LayoutTests/http/tests/xmlhttprequest/upload-request-error-event-order-expected.txt
@@ -0,0 +1,11 @@
+CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/resources/cross-site-progress-events.cgi. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
+Test to validate the order in which the events are fired in case of a request error.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS actualOrder is "rsdone,upload.onerror,upload.onloadend,onerror,onloadend,"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/http/tests/xmlhttprequest/upload-request-error-event-order.html ('k') | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698