- From: Jordan Harband <notifications@github.com>
- Date: Wed, 09 Mar 2022 14:13:07 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 9 March 2022 22:13:19 UTC
@strongholdmedia that's only the case if your hijacking happens before the code meant to be encapsulated; being "first-run" code is the only way to have any sort of guarantees in JS. If event listeners are aded *before* your hijacking code runs, then it must remain impossible for you to observe them. It's totally fine (and impossible to prevent anyways) if later-running code is unable to prevent observation of its event listeners. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/412#issuecomment-1063424959 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/412/1063424959@github.com>
Received on Wednesday, 9 March 2022 22:13:19 UTC