| OLD | NEW |
| 1 CONSOLE ERROR: line 1: Uncaught SomeError | 1 CONSOLE ERROR: Script from origin 'http://localhost:8000' has been blocked from
loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin
' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is
therefore not allowed access. |
| 2 The test passes if 'window.onerror' gets sanitized information about an exceptio
n thrown in a script loaded with a 'crossorigin' attribute, and delivered withou
t valid CORS headers. | 2 The test passes if 'window.onerror' is not invoked on a script loaded with a 'cr
ossorigin' attribute, but delivered without 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 msg is "Script error." | |
| 8 PASS url is "" | |
| 9 PASS line is 0 | |
| 10 PASS column is 0 | |
| 11 PASS window.errorObject is null | |
| 12 PASS successfullyParsed is true | 7 PASS successfullyParsed is true |
| 13 | 8 |
| 14 TEST COMPLETE | 9 TEST COMPLETE |
| 15 | 10 |
| OLD | NEW |