This tests that the XMLHttpRequest responseType attribute is modifiable prior to being in the OPENED state. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". xhr.responseType = 'document'; xhr.open('GET', 'http://mydomain'); PASS xhr.responseType is "document" PASS successfullyParsed is true TEST COMPLETE