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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 18 06:27:47 PDT 2022


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

            Bug ID: 241749
           Summary: Implement User-Agent Client Hints
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nimajneb0905 at gmail.com

User-Agent Client Hints (https://wicg.github.io/ua-client-hints/) define a set of Client Hints that aim to provide developers with the ability to perform agent-based content negotiation when necessary, while avoiding the historical baggage and passive fingerprinting surface exposed by the venerable User-Agent header.
This includes:
- New headers starting with "Sec-CH-UA" that provide information about the user agent to the server.
- A JavaScript API (navigator.userAgentData) that makes this information accessible via JavaScript.

An implementation of this would be awesome as it would make browser- and OS-detection a lot simpler. In WebKit (and Gecko), you currently have to parse the User-Agent string for this, which is very impractical. (And Chromium DevTools show an issue when accessing navigator.userAgent – telling me to migrate to navigator.userAgentData – which I can't because it's only supported in Blink at the moment.)

-- 
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/20220618/e169bc74/attachment.htm>


More information about the webkit-unassigned mailing list