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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-response-type-blob-expected.txt

Issue 562563003: [XHR] Accept data on didReceiveData call even if responseType is set to Blob (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 Request a file as the Blob type with asynchronous XMLHttpRequest in a document c ontext. 1 Request a file as the Blob type with asynchronous XMLHttpRequest in a document c ontext.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS req.status is 200 6 PASS req.status is 200
7 PASS req.response.size is 4 7 PASS req.response.size is 4
8 PASS buffer is "PASS" 8 PASS buffer is "PASS"
9 PASS XHR with responseType="blob" succeeded 9 PASS Set responseType before open(): Successful
10 PASS req.status is 200
11 PASS req.response.size is 4
12 PASS buffer is "PASS"
13 PASS Set responseType before send(): Successful
14 PASS req.status is 200
15 PASS req.response.size is 4
16 PASS buffer is "PASS"
17 PASS Set responseType in HEADERS_RECEIVED: Successful
10 PASS successfullyParsed is true 18 PASS successfullyParsed is true
11 19
12 TEST COMPLETE 20 TEST COMPLETE
13 21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698