CONSOLE MESSAGE: Synchronous HTTP(S) requests made from the window context cannot have XMLHttpRequest.responseType set. CONSOLE MESSAGE: Synchronous HTTP(S) requests made from the window context cannot have XMLHttpRequest.responseType set. This tests that XMLHttpRequest open() disallows synchronous HTTP(S) requests when a non-default responseType is set. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". xhr.responseType = 'document'; PASS xhr.open('GET', 'http://mydomain/', false); threw exception InvalidAccessError: The object does not support the operation or argument.. xhr.responseType = 'document'; PASS xhr.open('GET', 'https://mysecuredomain/', false); threw exception InvalidAccessError: The object does not support the operation or argument.. PASS window.location.protocol is "file:" xhr.responseType = 'document'; xhr.open('GET', window.location.href, false); PASS xhr.responseType is "document" xhr.responseType = 'document'; xhr.open('GET', dataUrl, false); PASS xhr.responseType is "document" PASS successfullyParsed is true TEST COMPLETE