| OLD | NEW |
| 1 CONSOLE MESSAGE: line 1: SomeError | 1 CONSOLE MESSAGE: line 1: Uncaught SomeError |
| 2 The test passes if window.onerror gets unsanitized information about the script
error. | 2 The test passes if window.onerror gets unsanitized information about the script
error. |
| 3 | 3 |
| 4 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
". |
| 5 | 5 |
| 6 | 6 |
| 7 PASS msg.match(/SomeError/)[0] is "SomeError" | 7 FAIL msg.match(/SomeError/)[0] should be SomeError. Threw exception TypeError: C
annot read property '0' of null |
| 8 PASS url is "http://localhost:8000/security/resources/cors-script.php?fail=true" | 8 FAIL url should be http://localhost:8000/security/resources/cors-script.php?fail
=true. Was . |
| 9 PASS line is 1 | 9 FAIL line should be 1. Was 0. |
| 10 PASS successfullyParsed is true | 10 PASS successfullyParsed is true |
| 11 | 11 |
| 12 TEST COMPLETE | 12 TEST COMPLETE |
| 13 | 13 |
| OLD | NEW |