- From: Andrea Giammarchi <notifications@github.com>
- Date: Wed, 04 Jun 2025 08:40:01 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 4 June 2025 15:40:06 UTC
WebReflection left a comment (whatwg/dom#1378) to whom it might concern, because we drive DOM synchronously from Workers and WASM interpreters we ended up [solving this issue in a similar way](https://github.com/WebReflection/coincident/blob/main/src/window/events.js), although we used just an `invoke: ['preventDefault', 'stopPropagation', 'stopImmediatePropagation']` patch for the `addEventListener` because we didn't want to implement something possibly conflicting with the future of the API ... yet a field that couldn't be a symbol, as these can't survive structured clone, had to be taken. If we had this implemented natively we wouldn't need to fix that ourselves patching the global prototype as that's usually the least desired thing one should do out there. **+1** for this request 👍 -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1378#issuecomment-2940510996 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1378/2940510996@github.com>
Received on Wednesday, 4 June 2025 15:40:06 UTC