Repository navigation
fix(windows): report WebView2 navigation state changes - #1661
Merged
houko merged 2 commits intoNov 21, 2026
Merged
Conversation
17 tasks done
houko
force-pushed
the
fix/windows-webview-navigation-state-113
branch
from
November 21, 2026 16:55
8674d21 to
8faa69c
Compare
houko
force-pushed
the
fix/windows-webview-navigation-state-113
branch
from
November 21, 2026 18:55
8faa69c to
90b981b
Compare
houko
force-pushed
the
fix/windows-webview-navigation-state-113
branch
from
November 21, 2026 19:12
90b981b to
faa1c51
Compare
Closed
8 tasks
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
Report WebView2 URL, document title, and history changes through
WebView.OnNavigationStateChange. Queue one fresh snapshot for related browser events and suppress identical snapshots. The navigation handlers report full-load starts and completions and discard completions from superseded loads.Exercise History API and title changes on an app-served scheme alongside its resource responses.
Refs #113
Verification
TestWebOwnPagesReloadAndReturn,TestWebNavigationStateTracksPageEdits, andTestWebSchemeRequestAnswerspassed in the runner’s interactive Windows session with zero skips. The scheme test verified response status, headers, and body, then observed the page’s new URL, title, and Back availability.Apple same-document navigation and gallery coverage remain tracked in #113. Page window requests are covered in #1663.