diff --git a/source b/source index d557d6bedb9..c2c3c19cbc8 100644 --- a/source +++ b/source @@ -2724,6 +2724,8 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
Content-Language` headerLast-Modified` headerReferer` headerThe following terms are defined in the Cookie specification:
@@ -2768,6 +2770,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attributeUser-Agent` valueOrigin` headerRequestCredentials enumerationRequestDestination enumerationfetch() methodThe following terms are defined in Client Hints:
+ +Accept-CH` headerAccept-CH-Lifetime` headerThe following terms are defined in Structured Headers:
+ +document-domain", which
has a default allowlist of *.ch-dpr", which
+ has a default allowlist of 'self'.ch-viewport-width", which
+ has a default allowlist of 'self'.ch-width", which
+ has a default allowlist of 'self'.ch-rtt", which
+ has a default allowlist of 'self'.ch-downlink", which
+ has a default allowlist of 'self'.ch-ect", which
+ has a default allowlist of 'self'.ch-save-data", which
+ has a default allowlist of 'self'.ch-device-memory", which
+ has a default allowlist of 'self'.ch-ua", which
+ has a default allowlist of 'self'.ch-arch", which
+ has a default allowlist of 'self'.ch-model", which
+ has a default allowlist of 'self'.ch-platform", which
+ has a default allowlist of 'self'.ch-lang", which
+ has a default allowlist of 'self'.Document.
+ The Document has a client-hints set (a client-hints set), initially the
+ empty set, which represents the default client hints used by fetches initiated by the Document.
The Document has a CSP list, which is a CSP list
containing all of the Content Security Policy objects active for the document. The
@@ -14408,6 +14478,14 @@ interface HTMLMetaElement : HTMLElement {
content-security-policy
accept-ch
+ accept-ch-lifetime
+ sh-float.
+
+ sh-integer.
+
+ sh-integer.
+
+ sh-float.
+
+
+ The current pixel density affects the calculation of density corrected intrinsic
+ size of image resources. As a result, the server MUST explicitly indicate the DPR of the
+ selected image response whenever the DPR client hint was used, or when the server otherwise
+ modified the image dimensions to compensate for the device's screen density.
Return the client-hints set of
+ window's associated
+ Document.
Let settingsObject be the Document's
+ relevant settings object.
Let clientHintsSet be the result of running retrieve the client-hints + set with settingsObject's origin.
For each hint in clientHintsSet, append hint to the Document's client-hints set.
Let callerIsSecureContext be the result of executing Is environment + settings object a secure context? on settingsObject.
If response's `Accept-CH` header is present, and
+ callerIsSecureContext is true, parse the header field value according to the
+ `Accept-CH` header parsing rules, as a field-name. Add each parsed client hints token to the
+ Document's client-hints
+ set.
Let topLevelOrigin be the origin of the top-level + browsing context's environment settings object's + origin.
If response's `Accept-CH-Lifetime` header is present,
+ callerIsSecureContext is true, and the response's origin
+ is equal to topLevelOrigin, let max-age be the result of parsing the
+ header field value according to the `Accept-CH-Lifetime` header parsing rules, as
+ a delta-seconds. Add a new
+ Accept-CH-Lifetime cache entry with response's origin,
+ max-age, and the Document's client-hints set.
If request is non-null, then set document's referrer to the ApplicationCache : EventTarget {
+ An Accept-CH-Lifetime cache is owned by
+ the user agent and consists of a list of structs that
+ each have the following fields: Entries must be removed after the seconds specified in the max-age field have passed since storing
+ the entry. Entries may be removed before that. The Accept-CH lifetime cache can effectively act as an alternative cookie store,
+ since sites can use each of the hints as a bit set on the client, and that information will be
+ communicated to them on every request. As such, it is appropriate for user agents to evict that
+ cache whenever the user clears their cookies.
+
+ To add a new Accept-CH-Lifetime cache entry to the Accept-CH-Lifetime cache, given
+ origin, max-age, and client-hints set, append a new struct with the following fields to the Accept-CH-Lifetime cache: To retrieve the client-hints set given an origin: Let client-hints set be an empty ordered
+ set. Let originMatchingEntries be the entries in the Accept-CH-Lifetime cache whose origin is same origin with
+ origin. For each entry in originMatchingEntries, for each token in its client-hints set, append the token to client-hints set. Return client-hints set. A client-hints set used for fetches
+ performed using this environment settings object as a request client.
+
An environment settings object also has an outstanding rejected promises
@@ -98181,6 +98508,10 @@ interface WorkerGlobalScope : EventTarget {
data-dfn-for="WorkerGlobalScope" data-x="concept-WorkerGlobalScope-referrer-policy">referrer
policy (a referrer policy). It is initially the empty string. A A Accept-CH-Lifetime cache
+
+
+
+
+
+
+
+
+
+
+ Web application APIs
@@ -87014,6 +87334,13 @@ interface ApplicationCache : EventTarget {
performed using this environment settings object as a request client.
+ WorkerGlobalScope object has an associated client-hints
+ set (a client-hints set). It is initially the empty set.WorkerGlobalScope object has an associated CSP list, which
is a CSP list containing all of the Content Security
@@ -98607,6 +98938,14 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope {
parsing the `Referrer-Policy`
header of response.
Let clientHintsSet be the result of running retrieve the client-hints + set with inside settings's origin.
+ +For each hint in in clientHintsSet, append hint to worker global scope's client-hints set.
Execute the Initialize a global object's CSP list
algorithm on worker global scope and response.
Return worker global scope's client-hints set.
+ +refresh";
"x-ua-compatible";
"content-security-policy"
+ "accept-ch"
+ "accept-ch-lifetime"
id