Re: [whatwg/dom] [Proposal] Add EventTarget.getEventListeners() (#412)

wanna echo @ljharb cause his last comment hits on an extremely important general principle of how js "virtualization" works. that other code running first can do this is (kinda confusingly) a key part of the foundation of encapsulation rather than evidence that it's unavailable. but the observability river only runs in one direction. reversing the river on untold amounts of existing code is not okay, but a new method or opt-in flag does not have that problem.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/412#issuecomment-1064321560
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/412/1064321560@github.com>

Received on Thursday, 10 March 2022 17:35:55 UTC