Re: [whatwg/dom] Event Listener Execution Order for Same Event Is Undefined (#415)

I just read over section 2.8 describing the dispatch algorithm at https://dom.spec.whatwg.org/#dispatching-events and all I see regarding an event listener queue is "For each event listener associated with object, append a pointer to the event listener to listeners."

However, that seems to only describe collecting the existing set of listeners for invocation and says nothing about the order in which they're appended to the invocation queue. Presumably, that order is the same as the listener creation order, but I don't see anything in the spec that says that.

-- 
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/415#issuecomment-281871325

Received on Thursday, 23 February 2017 02:20:24 UTC