blob: 5c020d27be616aaf3a251e4524266643a0837a06 [file] [log] [blame]
Test that XHR.responseType = 'blob' gives you back a Blob.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS xhr.responseType is "blob"
PASS successfullyParsed is true
TEST COMPLETE
PASS xhr.response is null
PASS xhr.response is null
PASS xhr.response instanceof Blob is true
PASS xhr.response.type is "text/plain"
PASS xhr.responseType is "blob"
PASS xhr.response instanceof Blob is true
PASS xhr.response.type is ""
PASS xhr.responseType is "blob"
PASS xhr.response is null
PASS xhr.response instanceof Blob is true
PASS xhr.response.type is ""