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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/response-stream-expected.txt

Issue 18635004: [Not ready for review] Add Streams API support to FileReader 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/response-stream-expected.txt
diff --git a/LayoutTests/http/tests/xmlhttprequest/response-stream-expected.txt b/LayoutTests/http/tests/xmlhttprequest/response-stream-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4298644a455bd267db6aa984bc89f09a4bd90bee
--- /dev/null
+++ b/LayoutTests/http/tests/xmlhttprequest/response-stream-expected.txt
@@ -0,0 +1,24 @@
+Test receiving data as Stream by XMLHttpRequest.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS xhr.response is null
+PASS xhr.response is null
+PASS xhr.response is null
+PASS xhr.status is 200
+PASS xhr.response is non-null.
+PASS onloadstart invoked on reader
+PASS reader.readyState is reader.LOADING
+PASS reader.result is non-null.
+PASS onload invoked on reader
+PASS onloadend invoked on reader
+PASS reader.readyState is reader.DONE
+PASS reader.result is non-null.
+PASS reader.result.byteLength is 103746
+PASS reader.error is null
+PASS Reader threw an exception for second read attempt: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698