Test that window.onerror is invoked for syntax error in eval. You should see a log record if window.onerror is working properly for this test.Bug 8519. | |
Error caught successfully: SyntaxError: Unexpected end of script File: window-onerror5.html Line: 16 Column: 9 Error: SyntaxError: Unexpected end of script | |