vict...@chromium.org, mike...@chromium.org
https://github.com/WICG/ua-client-hints#explainer-reducing-user-agent-granularity
https://www.chromium.org/updates/ua-reduction is the closest thing that specifies Chrome’s UA Reduction plans today. As these changes land in Chromium and ship to 100% stable, the Compat Standard will be updated in the UA String section, like we did for the Phase 4 and plan to do for Phase 5 changes.
As previously detailed on the Chromium Blog, we intend to proceed with Phase 6 of the User-Agent Reduction plan. In Phase 6, we change the deviceModel token to “K” and change the androidVersion token to a static “10” string in Android User-Agent string. The navigator.platform will be a “Linux armv81” constant on the Android platform.
Blink>Network>ClientHints
https://github.com/w3ctag/design-reviews/issues/640
Closed satisfied with concerns.
Any time you modify the User-Agent string there is a risk of breaking existing patterns, like some content somewhere depending on the previous format.
We do not expect interoperability risks, as each browser sends its own User-Agent string format. However there is a risk that - on the Android platform - content may rely on User-Agents to parse deviceModel and androidVersion information. To mitigate the risk of this change, we intend to slowly roll out the format via Finch on the Android platform and observe health metrics and bug reports. See timeline below on our slow roll out plan. This gives us the option to roll this back for the Android platform if major issues arise.
Displaying a static androidVersion and a deviceModel token for Android clients will not create a problem syntactically. But the web can get pretty weird in ways we don't anticipate. For example, sites can rely on the deviceModel in the User-Agent string to determine whether the device is a mobile, laptop or desktop. Currently, we change the deviceModel to a static string, sites need to use client hints as the alternative to determine the right behavior. Hence the slow roll-out and incremental path towards User-Agent Reduction.
Here is our proposed rollout plan in Chrome Stable channel (Canary/Dev/Beta has been enabled 50%), with the understanding that if we discover concerning breakage or regressions via health metrics or bug reports we will pause the rollout or roll back the feature entirely (and update this thread if so):
Web stakeholders can still test with the user agent reduction deprecation origin trial until M113 (late May) if they need more time to adapt to the coming changes. The UA-RD OT allows web stakeholders to request the legacy user-agent string values (i.e. non-reduced values).
Gecko: Shipped/Shipping. Firefox has frozen (or capped) much of their UA string already.
WebKit: Shipped/Shipping. Safari has already frozen everything in their desktop UA string except for Safari and WebKit versions. Also, UA reduction phase 6 will only apply to the Android platform.
Web developers: Mixed signals. Various channels have different reactions. It’s similar for the UA reduction phase 4 and phase 5.
No special DevTools support needed.
No (Only for Android)
No, because User-Agents vary across browsers.
#reduce-user-agent-android-version-device-model
Notes: The existing flag #reduce-user-agent will provide the same format User-Agent string on the Android platform since this is the last phase for User-Agent reduction.
https://bugs.chromium.org/p/chromium/issues/detail?id=1394819
https://launch.corp.google.com/launch/4225291
https://chromestatus.com/feature/5177681979637760
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJh4P7F7jKA4985JjpdzTr_XDkP%3DfS2pKaoBMStad9%3DujUzjuw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw-zjUXrC9m2mfPQXDrQUnqBbUGUSsrZUhVJDPxcFD%3DZhA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAEV-rjcX%3D1sj8bO%2BUdNRjgMwaRHm7ytB24oH4S1GvU0QrYKTzg%40mail.gmail.com.
Hi Torne,Thanks for your information. We understand your concern.UA-CH in WebView will be shipping in Chrome M110.
UA reduction in WebView is also in our future plan list, we will see how the UA-CH works in Webview.
For now, I don't think what we did in this phase on Android will impact Webview much since we already did the UA reduction phase 4 on Android platform.For the future plan, we will work out a plan (if UA-CH works as expected) to do the UA reduction in Webview to match what we did in Chrome.Also, we are glad to discuss with Webview for all other possibilities and impacts. Thanks.
Best,VictorOn Wed, Jan 18, 2023 at 12:20 PM Rick Byers <rby...@chromium.org> wrote:Thanks Torne. I don't think it necessarily blocks this intent, but +1 to having a unified plan for WebView. I assume the format (eg. not omitting the device model completely) is being driven by web compat concerns which would matter for WebView as well, right?
Do we have any data on the web compatibility of removing the model string entirely?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAEV-rjcX%3D1sj8bO%2BUdNRjgMwaRHm7ytB24oH4S1GvU0QrYKTzg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/24eecdaf-a59d-44f5-b370-80c4b2f52188n%40chromium.org.
[done] February 21: Phase 6 roll-out starts one week after the launch of Chrome 110 Stable with 1% traffic.
March 21: Roll-out increases to 10% traffic.
April 4: Roll-out increases to 50% traffic.
April 18: Roll-out reaches full Stable population with 100% traffic.
Hi all,
Correcting my message on 3/3 to be consistent with the rollout
timeline I
posted on Feb 16. We intend to begin the ramp up to 5% of
stable traffic tomorrow.
Hi all,
UA Reduction Phase 6 is ramping up to 100% of the stable release population as of today.
thanks,
Mike