Skip to content

feat(gallery): show the WebView user-agent suffix - #1792

Merged
houko merged 1 commit into
nsgo-dev:mainfrom
houko:feat/gallery-webview-user-agent-114
Nov 21, 2026
Merged

houko merged 1 commit into
nsgo-dev:mainfrom
houko:feat/gallery-webview-user-agent-114

Conversation

@houko

@houko houko commented Nov 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Give the gallery's inline WebView the NSGoGallery/1.0 suffix and show the last token from navigator.userAgent in the existing Run a script result.
  • Document the default and custom user-agent behavior by target in the native-views architecture.

Verification

  • Passed the gallery's headless TestWebEvaluate, TestMedia, and TestCookieStore.
  • Passed TestWebEvaluate in native macOS WKWebView and the existing macOS test that compares navigator.userAgent with the HTTP header.
  • Passed go tool nsgo check -target macos_arm64 -jobs 2 after rebasing. The existing Linux and Windows native user-agent tests cover the same header and page behavior. This run covered macOS only.

Refs #114

@github-actions github-actions Bot added size/S enhancement New feature or request documentation Improvements or additions to documentation conflict Conflicts with the base branch; resolve it first and removed enhancement New feature or request size/S labels Nov 21, 2026
@houko
houko force-pushed the feat/gallery-webview-user-agent-114 branch from a4cd784 to f346d97 Compare November 21, 2026 21:57
@houko
houko merged commit 46e5b51 into nsgo-dev:main Nov 21, 2026
5 of 20 checks passed
@github-actions github-actions Bot added enhancement New feature or request size/S labels Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conflict Conflicts with the base branch; resolve it first documentation Improvements or additions to documentation enhancement New feature or request size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant