[Webkit-unassigned] [Bug 241749] Implement User-Agent Client Hints

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 20 12:32:44 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=241749

--- Comment #5 from Michael Catanzaro <mcatanzaro at gnome.org> ---
(In reply to Sam Sneddon [:gsnedders] from comment #4)
> The brands, significant versions, and
> full versions would need to be provided to WebKit to expose this
> information, which likely means it would have to be off-by-default until the
> embedder provides such information.

The WebKitGTK/WPE API takes application name and version and constructs the user agent string based on that. A similar API could work for Apple ports, but frankly, I don't think we should allow applications to set client hint branding honestly. With the user agent headers, it's just a trap to encourage websites to discriminate against you, and the client hint API will be no different. If we implement client hints, the results should be hardcoded in WebKit (e.g. browser name always "WebKit", please not "Safari"!).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220620/be391cf1/attachment.htm>


More information about the webkit-unassigned mailing list