MDN states the following (source):
some/many
error
events do not triggerwindow.onerror
, you have to listen for them specifically
That's great, but which ones do not trigger onerror
?
Thanks.
MDN states the following (source):
some/many
error
events do not triggerwindow.onerror
, you have to listen for them specifically
That's great, but which ones do not trigger onerror
?
Thanks.
It looks like quirksmode has a good detail of what errors it will and will not catch: http://www.quirksmode.org/dom/events/error.html
If it helps, any error that you specifically
throw
will be caught.