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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/response-stream-partial-chunk-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-partial-chunk-expected.txt
diff --git a/LayoutTests/http/tests/xmlhttprequest/response-stream-partial-chunk-expected.txt b/LayoutTests/http/tests/xmlhttprequest/response-stream-partial-chunk-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55a481ff7371b5c581b22ec5ec9fd624c6ddb8af
--- /dev/null
+++ b/LayoutTests/http/tests/xmlhttprequest/response-stream-partial-chunk-expected.txt
@@ -0,0 +1,20 @@
+Test partial data is readable from Stream returned by XMLHttpRequest.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS xhr.response is null
+PASS xhr.status is 200
+PASS onloadstart invoked on reader
+PASS reader.result is non-null.
+PASS reader.readyState is reader.LOADING
+PASS reader.error is null
+PASS result[0] is 'Hello'.charCodeAt(0)
+PASS result[1] is 'Hello'.charCodeAt(1)
+PASS result[2] is 'Hello'.charCodeAt(2)
+PASS result[3] is 'Hello'.charCodeAt(3)
+PASS result[4] is 'Hello'.charCodeAt(4)
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/http/tests/xmlhttprequest/response-stream-partial-chunk.html ('k') | Source/core/fileapi/FileReader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698