| OLD | NEW |
| 1 CONSOLE ERROR: line 1: Uncaught SomeError | 1 CONSOLE ERROR: line 1: Uncaught SomeError |
| 2 The test passes if 'window.onerror' gets unsanitized information about an except
ion thrown in a script loaded with a 'crossorigin' attribute, and delivered with
valid CORS headers. | 2 The test passes if 'window.onerror' is invoked with unsanitized information on a
script loaded with a 'crossorigin' attribute, but loads from same-origin and wi
thout valid CORS headers. |
| 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 /SomeError/.test(msg) is true | 7 PASS /SomeError/.test(msg) is true |
| 8 PASS url is "http://localhost:8000/security/resources/cors-script.php?fail=true&
cors=true" | 8 PASS url is "http://127.0.0.1:8000/security/resources/cors-script.php?fail=true&
cors=false" |
| 9 PASS line is 1 | 9 PASS line is 1 |
| 10 PASS column is 1 | 10 PASS column is 1 |
| 11 PASS window.errorObject is not null | 11 PASS window.errorObject is not null |
| 12 PASS successfullyParsed is true | 12 PASS successfullyParsed is true |
| 13 | 13 |
| 14 TEST COMPLETE | 14 TEST COMPLETE |
| 15 | 15 |
| OLD | NEW |