Skip to content

implement HttpBrowserCapabilities.IsBrowser - #692

Open
ptuukkan wants to merge 1 commit into
dotnet:mainfrom
ptuukkan:feature/isbrowser
Open

implement HttpBrowserCapabilities.IsBrowser#692
ptuukkan wants to merge 1 commit into
dotnet:mainfrom
ptuukkan:feature/isbrowser

Conversation

@ptuukkan

@ptuukkan ptuukkan commented Aug 3, 2026

Copy link
Copy Markdown

PR Title
Implement HttpBrowserCapabilities.IsBrowser

PR Description

  • Add IsBrowser(string) to IHttpBrowserCapabilityFeature and surface it through HttpCapabilitiesBase, HttpBrowserCapabilitiesBase, and HttpBrowserCapabilitiesWrapper.
  • Wire up BrowserCapabilitiesFactory.ParsedBrowserResult.AddBrowser to record matched browser nodes in a case-insensitive HashSet.
  • Add BrowserCapabilitiesFactoryTests covering the hierarchy matches for Chrome, Firefox, IE, iPhone Safari, Opera, and an empty UA.

Addresses #684

@ptuukkan ptuukkan changed the title implement IsBrowser implement HttpBrowserCapabilities.IsBrowser Aug 3, 2026
@ptuukkan

ptuukkan commented Aug 3, 2026

Copy link
Copy Markdown
Author

@dotnet-policy-service agree company="Antura"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant