| OLD | NEW |
| 1 Request a file as the Text type with asynchronous XMLHttpRequest in a document c
ontext. | 1 Request a file as the Text type with asynchronous XMLHttpRequest in a document c
ontext. |
| 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 req.status is 200 | 6 xhr.readyState === 4 |
| 7 PASS req.response is "PASS" | 7 xhr.onload |
| 8 PASS req.status is 200 | 8 DONE |
| 9 PASS req.response is "PASS" | |
| 10 PASS req.status is 200 | |
| 11 PASS req.response is "PASS" | |
| 12 PASS successfullyParsed is true | 9 PASS successfullyParsed is true |
| 13 | 10 |
| 14 TEST COMPLETE | 11 TEST COMPLETE |
| 15 | 12 |
| OLD | NEW |