haikuwebkit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype...

13 lines
345 B
Plaintext

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