Re: Throwing an error in an event listener

On Sat, Oct 27, 2012 at 4:13 PM, David Bruant <bruant.d@gmail.com>
> But nothing is said about what happens if during this call an error is
> thrown. In browsers I have tested (Firefox 18, Opera 12, latest Chrome), the
> error is absorbed and the next listener is called (so the test succeeds).
> I think the invoke algorithm should make a mention of that somewhere.

window.onerror should still get it. Event listeners are run as
"outermost scripts" or some such. Not sure if we have that concept
clearly defined yet. I think this was in IDL's court, but I'm not
entirely sure anymore.


-- 
http://annevankesteren.nl/

Received on Saturday, 27 October 2012 15:08:02 UTC