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

> youd probably also have to prevent/hijack creation of new iframes and opened windows, all of which would have a fresh copy of getAllEventListeners.

It's probably(?) fine to make `getEventListeners` throw an error if it was used on a different realm which would resolve that.

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

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

Received on Friday, 1 April 2022 16:49:13 UTC