diff --git a/index.bs b/index.bs index e640b8a..aa0bee6 100644 --- a/index.bs +++ b/index.bs @@ -5,7 +5,7 @@ Level: 1 Status: CG-Draft Group: WICG URL: https://wicg.github.io/client-hints-infrastructure -Editor: Yoav Weiss, Google, yoav@yoav.ws, https://blog.yoav.ws +Editor: Yoav Weiss, Google, yoav@yoav.ws, https://blog.yoav.ws Abstract: Specification of the Client Hints infrastructure and its integration with Fetch and HTML Markup Shorthands: markdown yes @@ -103,7 +103,7 @@ following specifications and proposals: same-origin or delegated-to cross-origin requests. It also makes sure hints are removed from not delegated-to cross-origin requests after redirections. - - Integrates those concepts with the [[!HTML]] and [[!FETCH]] specifications, + - Integrates those concepts with the [[!HTML]] and [[!FETCH]] specifications, by patching various concepts there. * W3C Permissions Policy specification (relevant section) - In order to perform third party Client Hint delegation, Permissions Policy has @@ -121,7 +121,7 @@ Accept-CH cache {#accept-ch-cache-definition} ---------------- An Accept-CH cache is owned by the user agent and is an [=ordered map=], - [=keyed=] on origin (an [=/origin=]), + [=keyed=] on origin (an [=/origin=]), with a value of client hints set (a [=/client hints set=]). The Accept-CH cache can effectively act as an alternative cookie store, @@ -155,7 +155,7 @@ When asked to initialize the Client Hints set with |setti
false, then skip the next steps and
continue to the next hintName.
[[!PERMISSIONS-POLICY]] [[!CLIENT-HINTS]]
-
- Set hintName to "Sec-" concatenated with hintName. -
If request's header list does not contain hintName, a user agent should append hintName/value to request's header list. @@ -301,11 +297,14 @@ A client hints token is a [=byte-lowercase=] representation of one of `RTT`, `Downlink`, `ECT`, - `UA-Arch`, - `UA-Model`, - `UA-Platform`, - `UA` or - `UA-Mobile`. + `Sec-CH-UA-Arch`, + `Sec-CH-UA-Model`, + `Sec-CH-UA-Platform`, + `Sec-CH-UA` or + `Sec-CH-UA-Mobile`. + +Note: A client hints token will also match the request header sent by the user agent when +appropriate (as determined by the request processing algorithm). Policy-controlled features {#policy-controlled-features} ------------- @@ -344,10 +343,10 @@ The low entropy hint table below defines hints that are only e