Difference between revisions of "DOM/window.onerror"
Revision as of 17:34, 21 October 2011
window.onerror is a handler catching all error events and sending them to the window.
The main use case for window.onerror is a simple way to collect programming errors occurring within the page. The context could listen all errors of a Web page and for example send them to a server.