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: Invalid left-hand side in assignment" at window-onerror-03.html (Line: 1, Column: 1) Stack Trace: SyntaxError: Invalid left-hand side in assignment at window-onerror-03.html:14:9 Returning 'true': the error should not be reported in the console as an unhandled exception. PASS successfullyParsed is true TEST COMPLETE