Repository navigation
refactor(nsgotest): own mounted view records - #1862
Merged
Merged
Conversation
Collaborator
Author
|
Reviewed. Checked each mapping against its driver struct: input 24, image 8, modal 7, screen 21, scroll 13, video 14 and Picture in Picture 5 fields all map, and sticky cells convert back for |
houko
enabled auto-merge (rebase)
November 22, 2026 04:22
houko
force-pushed
the
refactor/nsgotest-view-records-181
branch
from
November 22, 2026 04:42
f1a580f to
fb2958c
Compare
houko
force-pushed
the
refactor/nsgotest-view-records-181
branch
from
November 22, 2026 08:19
fb2958c to
2c37b95
Compare
houko
added this pull request to the merge queue
Nov 22, 2026
houko
removed this pull request from the merge queue due to a manual request
Nov 22, 2026
houko
force-pushed
the
refactor/nsgotest-view-records-181
branch
from
November 22, 2026 09:37
2c37b95 to
493a196
Compare
houko
enabled auto-merge
November 22, 2026 09:37
houko
force-pushed
the
refactor/nsgotest-view-records-181
branch
from
November 22, 2026 09:39
493a196 to
181000a
Compare
houko
added this pull request to the merge queue
Nov 22, 2026
Keep image, input, modal, screen, scroll, video, Picture in Picture and sticky-cell snapshots in nsgotest. Clone mutable maps and slices and remove the corresponding protocol aliases from the public API guard.
houko
force-pushed
the
refactor/nsgotest-view-records-181
branch
from
November 23, 2026 01:00
181000a to
828c55a
Compare
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.
Summary
Move mounted image, input, modal, screen, scroll, video, custom Picture in Picture and sticky-cell snapshots into
nsgotestrecords. Tests can inspect these values without importing the mount protocol'sdriver.*message types. The model clones image variant maps, scroll snap offsets and edge bar lists while applying a batch, and keeps the existing policy helpers on the records.Remove the eight mounted-view protocol records from the public driver API allowlist. The existing WebConfig ownership work remains in #1811.
Refs #181.
Targets
Screenshots
None.
Verification
go tool nsgo test ./core: 813 passed.go tool nsgo test ./nsgotest -- -p 1 -count=1: 162 passed, one skipped, including the four record snapshot and policy tests.go tool nsgo check -target macos,linux,windows,android_arm64,web -jobs 1passed, including both desktop architectures and Android arm64.git diff --checkpassed.Checklist