| OLD | NEW |
| 1 Tests XMLHttpRequest 'document' loading with the .responseType and .response att
ributes. | 1 Tests XMLHttpRequest 'document' loading with the .responseType and .response att
ributes. |
| 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 responseType property exists. | 5 PASS responseType property exists. |
| 6 PASS response property exists. | 6 PASS response property exists. |
| 7 PASS xhr.responseType has been correctly set to 'document'. | 7 PASS xhr.responseType has been correctly set to 'document'. |
| 8 PASS DONE LOADING | 8 PASS DONE LOADING |
| 9 PASS received response object of type : object. | 9 PASS received response object of type : object. |
| 10 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.. | 10 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.. |
| 11 PASS xhr.response is a Document. | 11 PASS xhr.response is a Document. |
| 12 PASS xhr.response == xhr.responseXML. | 12 PASS xhr.response == xhr.responseXML. |
| 13 PASS successfullyParsed is true | 13 PASS successfullyParsed is true |
| 14 | 14 |
| 15 TEST COMPLETE | 15 TEST COMPLETE |
| 16 | 16 |
| OLD | NEW |