<!-- Thank you for suggesting an idea to make Node.js better. Please fill in as much of the template below as you're able. --> Based on #34074 this issue tracks improving the internal EventTarget implementation to be achieve spec compliance. From a previous comment these are some initial action items: - [ ] Add WPT. - [ ] Add other tests. - [ ] Go over the spec and fix deltas (and add tests) Unless there is a better spec document I plan on using this one as reference: https://dom.spec.whatwg.org/#interface-eventtarget WPT: https://github.com/web-platform-tests/wpt/tree/master/dom/events EventEmitter vs EventTarget: https://docs.google.com/document/d/1NFARs04-4U_2y6Ssw9Lqu1GMXBUM981-NO9PLJWifTI/edit#
Based on #34074 this issue tracks improving the internal EventTarget implementation to be achieve spec compliance.
From a previous comment these are some initial action items:
Unless there is a better spec document I plan on using this one as reference: https://dom.spec.whatwg.org/#interface-eventtarget
WPT: https://github.com/web-platform-tests/wpt/tree/master/dom/events
EventEmitter vs EventTarget: https://docs.google.com/document/d/1NFARs04-4U_2y6Ssw9Lqu1GMXBUM981-NO9PLJWifTI/edit#