Added new DevTools by mrdoob · Pull Request #30870 · mrdoob/three.js · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

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

Draft
wants to merge 53 commits into
base: dev
Choose a base branch
from
Draft

Added new DevTools #30870

wants to merge 53 commits into from

Conversation

mrdoob
Copy link
Owner

@mrdoob mrdoob commented Apr 5, 2025

Description

Started a new and simpler Three.js DevTools.

Screenshot 2025-04-05 at 10 25 20

@mrdoob mrdoob added this to the r176 milestone Apr 5, 2025
@mrdoob mrdoob requested a review from Copilot April 5, 2025 02:40
Copy link

@Copilot Copilot AI left a 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

mrdoob and others added 3 commits April 5, 2025 11:45
… local variable

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
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.
@mrdoob mrdoob modified the milestones: r176, r177 Apr 24, 2025
@mrdoob
Copy link
Owner Author

mrdoob commented May 12, 2025

We now show the three.js version detected in the icon badge:

Screenshot 2025-05-12 at 20 51 53

@mrdoob mrdoob modified the milestones: r177, r178 May 30, 2025
@mrdoob mrdoob modified the milestones: r178, r179 Jun 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.