Re: [whatwg/dom] Allow other specs to add event listeners ergonomically (#878)

I suspect what implementations have is more similar to "event groups" in https://www.w3.org/TR/2003/NOTE-DOM-Level-3-Events-20031107/events.html in that userland cannot prevent those listeners from being run and that ordering is independent from userland ordering. And then additionally they probably check that the trusted flag is set for the event in most cases.

What we've done with `AbortSignal` is similar and could probably also be done with such a model, but it's not clear to me the complexity is worth it.

-- 
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/878#issuecomment-661001537

Received on Monday, 20 July 2020 12:34:43 UTC