Contact emails
ari...@chromium.org, jadek...@chromium.org, mike...@chromium.org
Design Doc
https://docs.google.com/document/d/1U3P9yvaT1NXG_qRmY3Lp6Me7M5kTnd3QrBb1yFUVNNk/edit
Specification
https://wicg.github.io/client-hints-infrastructure/
Intent to Prototype
https://groups.google.com/a/chromium.org/g/blink-dev/c/FTNrw03Xs9s/m/O74Mp6bmCAAJ
Summary
To support content negotiation use cases such as differential serving of variable fonts, color vector fonts, responsive images, and other third-party content which requires client information lost by user agent reduction. For example: variable fonts allow significantly less font information to be transferred without loss of functionality, but only works on specific operating systems.
Blink component
Motivation
It’s already possible to set a Permissions Policy in the HTTP response header, but for sites without the ability to modify HTTP headers a HTML solution would be ideal. This proposal ships a meta tag which allows delegation of client hints to third-party origins. These tags could be included in code-snippets for embedded third-party content for ease of use.
For example, to specify third party requests to `https://foo.bar` must include `sec-ch-width` you could include:
<meta name="accept-ch" content="sec-ch-width=( https://foo.bar )">
You may still omit the permission policy and rely on the default allowlist as follows:
<meta name="accept-ch" content="sec-ch-width">
Note that this is the equivalent of the following today:
<meta http-equiv="accept-ch" content="sec-ch-width">
TAG review
https://github.com/w3ctag/design-reviews/issues/702
Compatibility
We do not anticipate compatibility risks for this addition - Blink currently implements first party client hints via a `http-equiv` meta tag, and that functionality will not be removed or modified.
Gecko: Neutral
WebKit: Requested
Web developers: Positive interest from Cloudinary
Any improperly formatted client hint meta tags will be flagged in the Issues tab.
Is this feature fully tested by web-platform-tests?
https://github.com/web-platform-tests/wpt/pull/32142
Tracking bug
Link to entry on the Chrome Platform Status
--
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/CAL5BFfXTAhJDFjQp_6D%3D6KxoZRFkv_KHfJAzekNZJYTGAnP4Sw%40mail.gmail.com.
LGTM2
/Daniel
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFUtAY8PWMqb_0URQfL3krHpB23h6g%2BCY9MtWNLjJxzSgQb7eg%40mail.gmail.com.
LGTM3 Looks like the TAG review is still pending. Please watch for any feedback from them that might require changes.
--
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/000000000000a64bba05d7986b2f%40google.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAM0wra8Toanp6p%3DdKo2rXx4n1BWAjEP5ivF%3D7%2BDf-zXH0_dgRw%40mail.gmail.com.