Repository navigation
tests: pass AbortController into the camera-speed viewer test sandbox - #7409
Closed
justrealyme wants to merge 1 commit into
Closed
justrealyme wants to merge 1 commit into
justrealyme wants to merge 1 commit into
Conversation
The 'Shift speeds the camera up and Ctrl slows it down' test runs the viewer module in a vm context without AbortController, so loadWorld() throws 'AbortController is not defined'. Pass AbortController, setTimeout and clearTimeout in, as the bounds-toggle test next to it already does. node --test tests/test_viewer_streaming.cjs: 56 pass / 1 fail -> 57 pass / 0 fail. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AYEAdJzj49xbRpBQmAcU13
This was referenced Nov 23, 2026
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claimed in the coordination issue as:
What and why
tests/test_viewer_streaming.cjsfails on main: the "Shift speeds the camera up and Ctrl slows it down"test runs the viewer module in a vm sandbox without
AbortController, soloadWorld()throwsReferenceError: AbortController is not defined. This passesAbortController,setTimeoutandclearTimeoutinto that sandbox, as the bounds-toggle test next to it already does. Test-only change.Tested
node --test tests/test_viewer_streaming.cjson Node 22: 56 pass / 1 fail before, 57 pass / 0 fail after.No GPU involved (viewer test only).
AI-assisted: yes
Checklist
docs/design.md, with how it was confirmed. (n/a)