blob: ce04f251952429c855e44928b6cb3962317db8bc [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"
FAIL xhr.response instanceof Blob should be true. Was false.
FAIL xhr.response.type should be . Threw exception TypeError: Cannot read property 'type' of null
PASS xhr.responseType is "blob"
PASS xhr.response is null
PASS xhr.response instanceof Blob is true
PASS xhr.response.type is "text/plain"