Skip to content

Remove leftover debug console.log statements#5182

Merged
diegoteran merged 1 commit into
google:masterfrom
tiagonrodrigues:remove-leftover-debug-logging
Jun 18, 2026
Merged

Remove leftover debug console.log statements#5182
diegoteran merged 1 commit into
google:masterfrom
tiagonrodrigues:remove-leftover-debug-logging

Conversation

@tiagonrodrigues

Copy link
Copy Markdown
Contributor

Fixes #5181.

Several debug console.log calls were left in and ship in 4.3.x, spamming the browser console on normal use.

On every page load, model-viewer-base logs [onExtraModelChanged], IntersectionObserver fired!, [$updateSource] called! and [$updateSource] BAILING OUT EARLY!. The AR flow logs Attempting to present in AR with WebXR/Scene Viewer/Quick Look..., and ARRenderer logs [processInput] Setting goalPosition.y ....

This removes those developer debug logs (14 lines across 3 files). The genuine error diagnostic in Renderer.ts (could not acquire 2d context) is intentionally left untouched.

No behavior change beyond removing console output.

@google-cla

google-cla Bot commented Jun 18, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Several debug `console.log` calls were left in and ship in 4.3.x, spamming
the browser console on normal use: on every page load the model-viewer base
logs `[onExtraModelChanged]`, `IntersectionObserver fired!`,
`[$updateSource] called!` and `[$updateSource] BAILING OUT EARLY!`, the AR
flow logs `Attempting to present in AR with ...`, and ARRenderer logs
`[processInput] Setting goalPosition.y ...`.

Remove these developer debug logs. The genuine error diagnostic in
Renderer.ts ("could not acquire 2d context") is left untouched.
@tiagonrodrigues tiagonrodrigues force-pushed the remove-leftover-debug-logging branch from c8fdec9 to cb89a5f Compare June 18, 2026 15:42

@diegoteran diegoteran left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@diegoteran diegoteran merged commit 819b798 into google:master Jun 18, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Leftover debug console.log statements ship in 4.3.x

2 participants