-
-
Notifications
You must be signed in to change notification settings - Fork 35.7k
Added new DevTools #30870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Added new DevTools #30870
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 8 out of 11 changed files in this pull request and generated no comments.
Files not reviewed (3)
- devtools/index.html: Language not supported
- devtools/manifest.json: Language not supported
- devtools/panel/panel.html: Language not supported
Nice! I feel like |
It's on the Chrome Store already in case anyone wants to try it: |
I'll make that work today. We need to add some code to WebGPURenderer though. |
The devtools Chrome extension injects `bridge.js` directly into the page content. As a result, any top-level definitions in `bridge.js` are set on `window`. This resulted in `window.dispatchEvent` being overwritten, which interfered with normal use of `window.dispatchEvent` by any site that relied on it. This change wraps the entire `bridge.js` file in an anonymous function to prevent any littering of the `window` objcect.
Description
Started a new and simpler Three.js DevTools.