- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 09 Oct 2023 04:22:32 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 9 October 2023 11:22:37 UTC
I think that is probably a workable API (no need for null though, optional parent argument or dictionary with optional parent member seems fine), but we will also need to add loop detection in https://dom.spec.whatwg.org/#concept-event-dispatch. Perhaps that should lead to an exception? I think you can only ever reach it from `dispatchEvent()` so that should be okay. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/583#issuecomment-1752822164 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/583/1752822164@github.com>
Received on Monday, 9 October 2023 11:22:37 UTC