blob: 06bff95b7e2d3754dbb9dd48fbdb3f9352b9a28e [file] [log] [blame]
CONSOLE MESSAGE: line 1: SomeError
The test passes if window.onerror gets unsanitized information about the script error.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS msg.match(/SomeError/)[0] is "SomeError"
PASS url is "http://localhost:8000/security/resources/cors-script.php?fail=true"
PASS line is 1
PASS column is 52
PASS error.toString() is "SomeError"
PASS successfullyParsed is true
TEST COMPLETE