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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-arraybuffer-expected.txt

Issue 2014173002: Rename Event.deepPath() to Event.composedPath() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 6 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 Tests XMLHttpRequest 'arraybuffer' loading with the .responseType and .response attributes. 1 Tests XMLHttpRequest 'arraybuffer' loading with the .responseType and .response attributes.
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 PASS 'arraybuffer' .response does not exist when .readyState is 1. 5 PASS 'arraybuffer' .response does not exist when .readyState is 1.
6 PASS responseType property exists. 6 PASS responseType property exists.
7 PASS response property exists. 7 PASS response property exists.
8 PASS xhr.responseType is initially set to default value of empty string. 8 PASS xhr.responseType is initially set to default value of empty string.
9 PASS xhr.responseType has been correctly set to ''. 9 PASS xhr.responseType has been correctly set to ''.
10 PASS xhr.responseType has been correctly set to 'text'. 10 PASS xhr.responseType has been correctly set to 'text'.
11 PASS xhr.responseType has been correctly set to 'document'. 11 PASS xhr.responseType has been correctly set to 'document'.
12 PASS xhr.responseType has been correctly set to 'arraybuffer'. 12 PASS xhr.responseType has been correctly set to 'arraybuffer'.
13 PASS 'arraybuffer' .response does not exist when .readyState is 2. 13 PASS 'arraybuffer' .response does not exist when .readyState is 2.
14 PASS 'arraybuffer' .response does not exist when .readyState is 3. 14 PASS 'arraybuffer' .response does not exist when .readyState is 3.
15 PASS 'arraybuffer' .response exists when .readyState is 4. 15 PASS 'arraybuffer' .response exists when .readyState is 4.
16 PASS DONE LOADING 16 PASS DONE LOADING
17 PASS received response object : [object ArrayBuffer]. 17 PASS received response object : [object ArrayBuffer].
18 PASS exception correctly thrown when xhr.responseType is set to valid value too late in the loading process : InvalidStateError: Failed to set the 'responseType ' property on 'XMLHttpRequest': The response type cannot be set if the object's state is LOADING or DONE.. 18 PASS exception correctly thrown when xhr.responseType is set to valid value too late in the loading process : InvalidStateError: Failed to set the 'responseType ' property on 'XMLHttpRequest': The response type cannot be set if the object's state is LOADING or DONE..
19 response length : 670184. 19 response length : 670184.
20 bytes at offset 0 : 46 4f 52 4d 0 a 39 e0 20 bytes at offset 0 : 46 4f 52 4d 0 a 39 e0
21 bytes at offset 356874 : a 91 f 5f 8 2f e fd 21 bytes at offset 356874 : a 91 f 5f 8 2f e fd
22 bytes at offset 670166 : 8 be 3 c 6 91 2 8 22 bytes at offset 670166 : 8 be 3 c 6 91 2 8
23 checksum : 84637740 23 checksum : 84637740
24 PASS exception correctly thrown when xhr.responseText is accessed but responseTy pe is 'arraybuffer' : InvalidStateError: Failed to read the 'responseText' prope rty from 'XMLHttpRequest': The value is only accessible if the object's 'respons eType' is '' or 'text' (was 'arraybuffer').. 24 PASS exception correctly thrown when xhr.responseText is accessed but responseTy pe is 'arraybuffer' : InvalidStateError: Failed to read the 'responseText' prope rty from 'XMLHttpRequest': The value is only accessible if the object's 'respons eType' is '' or 'text' (was 'arraybuffer')..
25 PASS exception correctly thrown when xhr.responseXML is accessed but responseTyp e is 'arraybuffer' : InvalidStateError: Failed to read the 'responseXML' propert y from 'XMLHttpRequest': The value is only accessible if the object's 'responseT ype' is '' or 'document' (was 'arraybuffer').. 25 PASS exception correctly thrown when xhr.responseXML is accessed but responseTyp e is 'arraybuffer' : InvalidStateError: Failed to read the 'responseXML' propert y from 'XMLHttpRequest': The value is only accessible if the object's 'responseT ype' is '' or 'document' (was 'arraybuffer')..
26 PASS xhr.response.foo is 'bar' 26 FAIL xhr.response.foo should be bar (of type string). Was undefined (of type und efined).
kochi 2016/05/27 04:16:55 What is this failure?
27 PASS successfullyParsed is true 27 PASS successfullyParsed is true
28 28
29 TEST COMPLETE 29 TEST COMPLETE
30 30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698