Bug 305420

Summary: WebKit has too many concepts of custom user agent
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: karl+webkit, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Brent Fulgham
Reported 2026-01-13 13:52:24 PST
WebKit's architecture spreads the concept of `custom User Agent` in too many places. It's part of FrameLoader, DocumentLoader, WebsiteDataPolicy, and also held as `customUserAgent` and `customUserAgentAsSiteSpecificQuirks`. This is confusing and leads to errors. We should fix this.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-01-13 16:27:04 PST
karl
Comment 2 2026-01-14 00:12:11 PST
We can adopt a step by step for fixing this. I have a patch which consolidate needs*UserAgent into one function with a parameter passage. That would progress things too.
Note You need to log in before you can comment on or make changes to this bug.