| OLD | NEW |
| 1 CONSOLE WARNING: Avoid synchronous requests as it hampers user experience due to
unresponsiveness of the web page. Refer https://xhr.spec.whatwg.org/#sync-warni
ng. |
| 1 Test for bug 33057: typeof(xhr.responseText) != "string" on Windows. | 2 Test for bug 33057: typeof(xhr.responseText) != "string" on Windows. |
| 2 | 3 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 5 |
| 5 | 6 |
| 6 PASS typeof(r.responseText) == "string" is true | 7 PASS typeof(r.responseText) == "string" is true |
| 7 PASS typeof(r.responseText) === "string" is true | 8 PASS typeof(r.responseText) === "string" is true |
| 8 PASS typeof(r.responseText) != "string" is false | 9 PASS typeof(r.responseText) != "string" is false |
| 9 PASS typeof(r.responseText) !== "string" is false | 10 PASS typeof(r.responseText) !== "string" is false |
| 10 PASS "" + typeof(r.responseText) is "string" | 11 PASS "" + typeof(r.responseText) is "string" |
| 11 PASS typeof(r.responseText) + "" is "string" | 12 PASS typeof(r.responseText) + "" is "string" |
| 12 PASS String(typeof(r.responseText)) is "string" | 13 PASS String(typeof(r.responseText)) is "string" |
| 13 PASS String(typeof(r.responseText)) is typeof(r.responseText) | 14 PASS String(typeof(r.responseText)) is typeof(r.responseText) |
| 14 PASS successfullyParsed is true | 15 PASS successfullyParsed is true |
| 15 | 16 |
| 16 TEST COMPLETE | 17 TEST COMPLETE |
| 17 | 18 |
| OLD | NEW |