OLD | NEW |
(Empty) | |
| 1 Testing overrideMimeType when readyState is 0 |
| 2 PASS xhr.overrideMimeType('text/asdf') did not throw exception. |
| 3 PASS xhr.overrideMimeType('text/plain') did not throw exception. |
| 4 Testing overrideMimeType when readyState is 1 |
| 5 PASS xhr.overrideMimeType('text/asdf') did not throw exception. |
| 6 PASS xhr.overrideMimeType('text/plain') did not throw exception. |
| 7 Testing overrideMimeType when readyState is 1 |
| 8 PASS xhr.overrideMimeType('text/asdf') did not throw exception. |
| 9 PASS xhr.overrideMimeType('text/plain') did not throw exception. |
| 10 Testing overrideMimeType when readyState is 2 |
| 11 PASS xhr.overrideMimeType('text/asdf') did not throw exception. |
| 12 PASS xhr.overrideMimeType('text/plain') did not throw exception. |
| 13 Testing overrideMimeType when readyState is 3 |
| 14 PASS xhr.overrideMimeType('text/asdf') threw exception InvalidStateError: Failed
to execute 'overrideMimeType' on 'XMLHttpRequest': MimeType cannot be overrode
when the state is LOADING or DONE.. |
| 15 Testing overrideMimeType when readyState is 4 |
| 16 PASS xhr.overrideMimeType('text/asdf') threw exception InvalidStateError: Failed
to execute 'overrideMimeType' on 'XMLHttpRequest': MimeType cannot be overrode
when the state is LOADING or DONE.. |
| 17 PASS successfullyParsed is true |
| 18 |
| 19 TEST COMPLETE |
| 20 |
OLD | NEW |