Re: [whatwg/dom] Consider making dispatchEvent() unset stop (immediate) propagation flags (#219)

FYI, I have recently updated WebKit to match more closely the specification:
1. We no longer prevent calling initEvent() again on a previously dispatched event. We now only prevent calling initEvent() while the event is being dispatched.
2. Calling initEvent() now resets the target

However, I have not updated our behavior to reset the (immediate) propagation flags at the end of dispatchEvent(). The reason I have not done it is because the DOM specification does not say we should (even though there is a web-platform-test that expects this behavior). I personally would not be opposed to updating WebKit's behavior to match Firefox as long as we update the DOM specification accordingly. It seems less risky for WebKit / Blink to align with Gecko than the other way around.

But really, I do not mind either way as long as we align browsers somehow and our web-platform-tests match the DOM specification.


-- 
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/219#issuecomment-239486041

Received on Friday, 12 August 2016 15:59:53 UTC