Make WordPress Core

Opened 10 months ago

Last modified 3 months ago

#49198 new enhancement

Blink: Intent to Deprecate + Freeze `navigator.userAgent`

Reported by: georgestephanis Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: javascript Cc:



It seems there's intent to freeze the navigator.userAgent functionality from the blink dev team, in favor of the User-Agent Client Hints functionality as documented here: https://wicg.github.io/ua-client-hints/

Starting an issue here to discuss what (if anything) we'll need to do to handle how WordPress parses and works with user agent strings.

subsequent hn discussion thread: https://news.ycombinator.com/item?id=22044057

Change History (1)

#1 @ehtis
3 months ago

Client Hints can be tested in Chrome 84 beta.

Also, re. the traditional User-Agent string format:

First, the phase of the project that reduces the amount of available information in the traditional User-Agent string to browser (e.g. “Chrome”), major browser version, and mobile/desktop, has been deferred until at least 2021 to provide additional time for the ecosystem to evaluate the new UA-CH capabilities.


Note: See TracTickets for help on using tickets.