- From: Jack Works <notifications@github.com>
- Date: Mon, 22 May 2023 05:26:49 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 22 May 2023 12:26:55 UTC
For code ```js const target = new EventTarget() target.addEventListener('change', (event) => { console.log(event.composedPath()) }, { once: true }) const event = new Event('change') target.dispatchEvent(event) ``` Chrome and Safari prints `[]`, Firefox prints `[target]` https://dom.spec.whatwg.org/#dom-event-composedpath Per spec, it looks like Firefox is correct. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1201 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1201@github.com>
Received on Monday, 22 May 2023 12:26:55 UTC