OLD | NEW |
1 Test that XHR.responseType = 'blob' gives you back a Blob. | 1 Test that XHR.responseType = 'blob' gives you back a Blob. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS xhr.responseType is "blob" | 6 PASS xhr.responseType is "blob" |
7 PASS successfullyParsed is true | 7 PASS successfullyParsed is true |
8 | 8 |
9 TEST COMPLETE | 9 TEST COMPLETE |
10 PASS xhr.response is null | 10 PASS xhr.response is null |
11 PASS xhr.response is null | 11 PASS xhr.response is null |
12 PASS xhr.response instanceof Blob is true | 12 PASS xhr.response instanceof Blob is true |
13 PASS xhr.response.type is "text/plain" | 13 PASS xhr.response.type is "text/plain" |
14 PASS xhr.responseType is "blob" | 14 PASS xhr.responseType is "blob" |
15 PASS xhr.response instanceof Blob is true | 15 FAIL xhr.response instanceof Blob should be true. Was false. |
16 PASS xhr.response.type is "" | 16 FAIL xhr.response.type should be . Threw exception TypeError: Cannot read proper
ty 'type' of null |
17 PASS xhr.responseType is "blob" | 17 PASS xhr.responseType is "blob" |
18 PASS xhr.response is null | 18 PASS xhr.response is null |
19 PASS xhr.response instanceof Blob is true | 19 PASS xhr.response instanceof Blob is true |
20 PASS xhr.response.type is "" | 20 PASS xhr.response.type is "" |
21 | 21 |
OLD | NEW |