| OLD | NEW |
| 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: An attempt was made to use an o
bject that is not, or is no longer, usable.. | 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: An attempt was made to use an object th
at is not, or is no longer, usable.. | 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: An attempt was made to use an object tha
t is not, or is no longer, usable.. | 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 PASS xhr.response.foo is 'bar' |
| 27 PASS successfullyParsed is true | 27 PASS successfullyParsed is true |
| 28 | 28 |
| 29 TEST COMPLETE | 29 TEST COMPLETE |
| 30 | 30 |
| OLD | NEW |