blob: 0049875133f3b93f449a595b8b68aadde45f5a40 [file] [log] [blame]
CONSOLE ERROR: line 1: Uncaught SomeError
The test passes if 'window.onerror' gets unsanitized information about an exception thrown in a script loaded with a 'crossorigin' attribute, and delivered with valid CORS headers.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS /SomeError/.test(msg) is true
PASS url is "http://localhost:8000/security/resources/cors-script.php?fail=true&cors=true"
PASS line is 1
PASS column is 1
PASS window.errorObject is not null
PASS successfullyParsed is true
TEST COMPLETE