Re: [whatwg/dom] Add legacyOutputDidListenersThrowFlag to event dispatch for IDB (#409)

I'll need to test in implementations. The PR I just put up differs from Blink implementation in that it only looks at the flag after the dispatch is complete, whereas Blink aborts the transaction after the first callback that throws (so which would be in the "inner invoke" steps). In other words, throwing in the first listener would change state before the event made it to the second listener. 

(I suspect changing that would be web-compatible, but need tests anyway.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/409#issuecomment-279816401

Received on Tuesday, 14 February 2017 19:52:47 UTC