react icon indicating copy to clipboard operation
react copied to clipboard

[DevTools][Draftish] Use original window methods instead of allowing overrides

Open lunaruan opened this issue 1 year ago • 0 comments

Certain apps will intercept and override window methods to do things like logging. When the override functions aren't implemented correctly, however, it breaks DevTools because the DevTools backend shares the same window object as the app. This is a proof of concept implementation that called the original window methods for addEventListener and removeEventListener instead of the overridden one.

lunaruan avatar Aug 12 '22 03:08 lunaruan