Skip to content

Instantly share code, notes, and snippets.

@pmuellr
pmuellr / override-addEventListener.html
Created March 4, 2011 16:35
test to see what we can do when we override addEventListener
<!--
======================================================================
Example trying to show hooking addEventListener to see if we can
capture error state for errors that occur in the handler.
Basically, we can capture that an error occurred, and get the
error message, and the event and object that was fired that
caused code to run that caused the error. But no stack trace
or line information.