LGTM1, looks pretty minor and straightforward. And I agree that we can't rely on the ability to set HTTP headers alone for wide adoption.
On Tue, Jan 11, 2022 at 5:09 AM Yoav Weiss <yoavwe...@chromium.org> wrote: > I'm recusing myself on this intent, as I was involved in the design. At > the same time, (and unsurprisingly), I think this is an important feature > to enable Client Hints adoption for cross-origin resources, which seems > critically important both for fonts as well as for image CDNs. > > On Mon, Jan 10, 2022 at 9:58 PM Ari Chivukula <aric...@chromium.org> > wrote: > >> Reaching out for review now that we're past the holiday season. I'm >> hoping to make the M99 branch cut on the 20th. >> >> >> On Mon, Dec 20, 2021 at 2:01 PM Ari Chivukula <aric...@chromium.org> >> wrote: >> >>> Contact emails >>> >>> aric...@chromium.org, jadekess...@chromium.org, miketa...@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 >>> <https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide>, >>> color vector fonts >>> <https://www.chromestatus.com/feature/5638148514119680>, responsive >>> images >>> <https://github.com/w3c/webappsec-permissions-policy/issues/55#issuecomment-406627096>, >>> and other third-party content which requires client information lost by user >>> agent reduction >>> <https://groups.google.com/a/chromium.org/g/blink-dev/c/R0xKm1B7qoQ>. >>> For example: variable fonts >>> <https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide> >>> allow significantly less font information to be transferred without loss of >>> functionality, but only works on specific operating systems. >>> >>> >>> >>> Blink component >>> >>> Blink>Network>ClientHints >>> <https://bugs.chromium.org/p/chromium/issues/list?q=component%3ABlink%3ENetwork%3EClientHints> >>> >>> >>> >>> Motivation >>> >>> It’s already possible to set a Permissions Policy >>> <https://wicg.github.io/ua-client-hints/#delegation> 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. >>> >>> >>> Interoperability >>> >>> >>> >>> Gecko: Neutral >>> <https://github.com/mozilla/standards-positions/issues/596> >>> >>> >>> >>> WebKit: Requested >>> <https://lists.webkit.org/pipermail/webkit-dev/2021-November/032057.html> >>> >>> >>> >>> Web developers: Positive interest from Cloudinary >>> <https://bugs.chromium.org/p/chromium/issues/detail?id=1219359#c10> >>> >>> Debuggability >>> >>> Any improperly formatted client hint meta tags will be flagged in the >>> Issues tab >>> <https://docs.google.com/document/d/1lDEvj8tMeuvUs1HTTqL-44YiI-7ljeQkusM_WhUfIeE/edit> >>> . >>> >>> Is this feature fully tested by web-platform-tests? >>> >>> https://github.com/web-platform-tests/wpt/pull/32142 >>> >>> Tracking bug >>> >>> https://crbug.com/1219359 >>> >>> Link to entry on the Chrome Platform Status >>> >>> https://www.chromestatus.com/feature/5684289032159232 >>> >>> -- > 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+unsubscr...@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 > <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfXTAhJDFjQp_6D%3D6KxoZRFkv_KHfJAzekNZJYTGAnP4Sw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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+unsubscr...@chromium.org. 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.