blob: b2d36ff9238331bd76430b8456e1e98280f275ae [file] [log] [blame]
This test should trigger 'window.onerror', and successfully handle the error.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
window.onerror: "Uncaught SyntaxError: Unexpected end of input" at window-onerror-04.html (Line: 1, Column: 2)
Stack Trace:
SyntaxError: Unexpected end of input
at window-onerror-04.html:14:9
Returning 'true': the error should not be reported in the console as an unhandled exception.
PASS successfullyParsed is true