blob: c458da7875b63d27d8a0bdb1a3d0c9416574efce [file] [log] [blame]
This test should trigger 'window.onerror' multiple times, and successfully handle the errors.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
window.onerror: "Uncaught Error: Inline exception." at onerror-test.js (Line: 6, Column: 5)
Stack Trace:
Error: Inline exception.
at throwException onerror-test.js:6:11
at window-onerror-10.html:22:9
Returning 'true': the error should not be reported in the console as an unhandled exception.
window.onerror: "Uncaught Error: exception in onload" at onerror-test.js (Line: 6, Column: 5)
Stack Trace:
Error: exception in onload
at throwException onerror-test.js:6:11
at onload window-onerror-10.html:11:205
Returning 'true': the error should not be reported in the console as an unhandled exception.
window.onerror: "Uncaught Error: exception in setTimeout" at onerror-test.js (Line: 6, Column: 5)
Stack Trace:
Error: exception in setTimeout
at throwException onerror-test.js:6:11
at window-onerror-10.html:11:155
PASS successfullyParsed is true
TEST COMPLETE