Matsuuu / web-component-devtools

Web Component DevTools is a Browser Extension enhancing the development experience of Web Component developers
https://matsuuu.github.io/web-component-devtools/
MIT License
131 stars 3 forks source link

[BUG]: Overrides `throttle` function in pages #71

Open nigelsim opened 4 months ago

nigelsim commented 4 months ago

Describe the bug When the extension is active, a web page that has a global throttle function will have this function overridden. See here.

To Reproduce Steps to reproduce the behavior:

  1. Install the extension
  2. Start the repo in the link above
  3. Type quickly in the input box
  4. Press the button
  5. See that only some of the text has transferred through

You can put a breakpoint in the ~ nicegui.js:145 and try to step into the throttle function.

Expected behavior Webpage code should be uneffected.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Matsuuu commented 4 months ago

Welp this is the first time I've had the injected codes conflict with global codes.

I'll be sure to take this into account in the future rework that is in progress. Thank you for reporting this!