- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 28 Sep 2021 07:28:17 -0700
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 28 September 2021 14:28:29 UTC
@kenchris it's not entirely clear to me what is being asked, but event listener registration is supposed to be side effect free, apart from performance optimization. See https://dom.spec.whatwg.org/#observing-event-listeners in particular: > In general, developers do not expect the presence of an event listener to be observable. The impact of an event listener is determined by its callback. That is, a developer adding a no-op event listener would not expect it to have any side effects. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3ctag/design-reviews/issues/662#issuecomment-929284686
Received on Tuesday, 28 September 2021 14:28:29 UTC