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

> Indexed Database API could have done with some architectural design review.

Are we taking the TARDIS or the Delorean this time? :)

-----

Blink has [EventTarget::uncaughtExceptionInEventHandler]( https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/events/EventTarget.h?dr&l=152) called from the [bindings code that calls event listeners/handlers](https://cs.chromium.org/chromium/src/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp?dr&l=144) - the only non-empty implementation is for Indexed DB's [IDBRequest](https://cs.chromium.org/chromium/src/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp?dr&l=508)

The specialized dispatch is just used for the propagation logic, since the spec language for "get the parent" doesn't map to common code in Blink between the DOM and IDB. The actual firing/EventTarget code is common, though.


-- 
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-279786426

Received on Tuesday, 14 February 2017 18:05:56 UTC