blob: 00e0d12254e429fc57c75489aa838d93ed110849 [file] [log] [blame]
Test that when window.onerror handler is called, window.event is the corresponding ErrorEvent object. Bug 8519.
Main frame window.onerror: Error: 2010 at window-onerror9.html, line: 32, column: 22, error: Error: 2010
window.event.type = error
window.event.message = Error: 2010
window.event.filename = window-onerror9.html
window.event.lineno = 32
window.event.colno = 22