Re: [whatwg/dom] Standardize certain Microsoft event extensions (#334)

@peria, @yuki3, thank you!

I chatted with @yuki3 offline. From a spec perspective, here is the summary, as far as I understand:
- Blink sets `window.event` to an `Event` just before calling a registered event listener.
- Blink sets `window.event` to `undefined` after an event listener finishes.
- Since users can dispatch an event synchronously in an event listener, Blink uses *stack* so that this works in *reentrant* way.

-- 
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/issues/334#issuecomment-339231814

Received on Wednesday, 25 October 2017 06:50:07 UTC