Closed
Description
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#