Skip to content

fix(windows): report WebView2 navigation state changes - #1661

Merged
houko merged 2 commits into
nsgo-dev:mainfrom
houko:fix/windows-webview-navigation-state-113
Nov 21, 2026
Merged

houko merged 2 commits into
nsgo-dev:mainfrom
houko:fix/windows-webview-navigation-state-113

Conversation

@houko

@houko houko commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • Windows x64 and arm64 backend checks and the NSGo skill test passed.
  • TestWebOwnPagesReloadAndReturn, TestWebNavigationStateTracksPageEdits, and TestWebSchemeRequestAnswers passed 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.

@github-actions github-actions Bot added size/M bug Something isn't working documentation Improvements or additions to documentation Windows ci and removed bug Something isn't working size/M labels Nov 21, 2026
@github-actions github-actions Bot added size/M bug Something isn't working conflict Conflicts with the base branch; resolve it first labels Nov 21, 2026
@houko
houko force-pushed the fix/windows-webview-navigation-state-113 branch from 8674d21 to 8faa69c Compare November 21, 2026 16:55
@github-actions github-actions Bot added conflict Conflicts with the base branch; resolve it first and removed conflict Conflicts with the base branch; resolve it first labels Nov 21, 2026
@houko
houko force-pushed the fix/windows-webview-navigation-state-113 branch from 8faa69c to 90b981b Compare November 21, 2026 18:55
@houko
houko force-pushed the fix/windows-webview-navigation-state-113 branch from 90b981b to faa1c51 Compare November 21, 2026 19:12
@houko
houko merged commit de61b9f into nsgo-dev:main Nov 21, 2026
4 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci conflict Conflicts with the base branch; resolve it first documentation Improvements or additions to documentation size/M Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant