diff --git a/docs/index.bs b/docs/index.bs index 11561fa2..2e63c955 100644 --- a/docs/index.bs +++ b/docs/index.bs @@ -145,6 +145,7 @@ spec: fetch; urlPrefix: https://fetch.spec.whatwg.org/ text: get a reader; url: concept-get-reader text: header; url: concept-header text: http fetch; url: concept-http-fetch + text: HTTPS state value; url: concept-https-state-value text: internal response; url: concept-internal-response text: locked; url: concept-body-locked text: navigation request @@ -187,6 +188,7 @@ spec: fetch; urlPrefix: https://fetch.spec.whatwg.org/ text: cache state text: CORS-exposed header-name list text: header list + text: https state text: response text: status text: termination reason @@ -222,6 +224,7 @@ spec: html; urlPrefix: https://html.spec.whatwg.org/multipage/ text: https state; for: environment settings object text: module script text: realm execution context + text: referrer policy; for: environment settings object; url: concept-settings-object-referrer-policy text: relevant Realm; url: concept-relevant-realm text: relevant global object; url: concept-relevant-global text: report the error @@ -243,6 +246,7 @@ spec: html; urlPrefix: https://html.spec.whatwg.org/multipage/ text: web worker; url: workers for: workerglobalscope; urlPrefix: #concept-workerglobalscope- text: https state + text: referrer policy text: type text: url type: event @@ -333,7 +337,7 @@ spec: webidl; urlPrefix: https://heycam.github.io/webidl/
A service worker has an associated containing service worker registration (a service worker registration), which contains itself.
A service worker has an associated id (an opaque string), which uniquely identifies itself during the lifetime of its containing service worker registration.
A service worker is dispatched a set of lifecycle events, install and activate, and functional events including fetch.
-A service worker has an associated script resource (a script), which represents its own script resource. It is initially set to null. A script resource has an associated has ever been evaluated flag. It is initially unset. A script resource has an associated HTTPS state which is "none
", "deprecated
", or "modern
". Unless stated otherwise, it is "none
".
A service worker has an associated script resource (a script), which represents its own script resource. It is initially set to null. A script resource has an associated has ever been evaluated flag. It is initially unset. A script resource has an associated HTTPS state (an HTTPS state value). It is initially "none
". A script resource has an associated referrer policy (a referrer policy). It is initially the empty string.
A service worker has an associated script resource map which is a List of the Record {\[[key]], \[[value]]} where \[[key]] is a URL and \[[value]] is a response.
A service worker has an associated skip waiting flag. Unless stated otherwise it is unset.
A service worker has an associated imported scripts updated flag. It is initially unset.
@@ -3241,6 +3245,8 @@ spec: webidl; urlPrefix: https://heycam.github.io/webidl/none
".classic
"Service-Worker-Allowed
` in response's header list.
See the definition of the Service-Worker-Allowed header in Appendix B: Extended HTTP headers.
Referrer-Policy
` header of response.Remove this definition after sorting out the referencing sites.
+A service worker has an associated id (an opaque string), which uniquely identifies itself during the lifetime of its containing service worker registration.
A service worker is dispatched a set of lifecycle events, install and activate, and functional events including fetch.
-A service worker has an associated script resource (a script), which represents its own script resource. It is initially set to null. A script resource has an associated has ever been evaluated flag. It is initially unset. A script resource has an associated HTTPS state which is "none
", "deprecated
", or "modern
". Unless stated otherwise, it is "none
".
A service worker has an associated script resource (a script), which represents its own script resource. It is initially set to null. A script resource has an associated has ever been evaluated flag. It is initially unset. A script resource has an associated HTTPS state (an HTTPS state value). It is initially "none
". A script resource has an associated referrer policy (a referrer policy). It is initially the empty string.
A service worker has an associated script resource map which is a List of the Record {[[key]], [[value]]} where [[key]] is a URL and [[value]] is a response.
A service worker has an associated skip waiting flag. Unless stated otherwise it is unset.
A service worker has an associated imported scripts updated flag. It is initially unset.
@@ -3855,8 +3855,8 @@Whenever a user agent invokes Run Service Worker algorithm with a service worker serviceWorker:
Content-Security-Policy
HTTP header containing the value policy, the user agent must enforce policy for serviceWorker.
- Content-Security-Policy-Report-Only
HTTP header containing the value policy, the user agent must monitor policy for serviceWorker.
+ Content-Security-Policy
HTTP header containing the value policy, the user agent must enforce policy for serviceWorker.
+ Content-Security-Policy-Report-Only
HTTP header containing the value policy, the user agent must monitor policy for serviceWorker.
The primary reason for this restriction is to mitigate a broad class of content injection vulnerabilities, such as cross-site scripting (XSS).
@@ -4196,6 +4196,8 @@TypeError
.
none
".
+ Service-Worker-Allowed
` in response’s header list.
See the definition of the Service-Worker-Allowed header in Appendix B: Extended HTTP headers.
+Referrer-Policy
` header of response.
Else, continue the rest of these steps after the algorithm’s asynchronous completion, with script being the asynchronous completion value.
ServiceWorkerRegistration
object which represents registration.
Remove this definition after sorting out the referencing sites.
+WorkerLocation
object and associate it with workerGlobalScope.
An HTTP request to fetch a service worker’s script resource will include the following header:
+An HTTP request to fetch a service worker’s script resource will include the following header:
Service-Worker
`
This header helps administrators log the requests and detect threats.
An HTTP response to a service worker’s script resource request can include the following header:
+An HTTP response to a service worker’s script resource request can include the following header:
Service-Worker-Allowed
`
ABNF for the values of the headers used by the service worker’s script resource requests and responses:
+ABNF for the values of the headers used by the service worker’s script resource requests and responses:
Service-Worker = %x73.63.72.69.70.74 ; "script", case-sensitive
The validation of the Service-Worker-Allowed header’s values is done by URL parsing algorithm (in Update algorithm) instead of using ABNF.
@@ -5598,6 +5604,7 @@none
".classic
"Service-Worker-Allowed
` in response's header list.
See the definition of the Service-Worker-Allowed header in Appendix B: Extended HTTP headers.
Referrer-Policy
` header of response.Remove this definition after sorting out the referencing sites.
+A service worker has an associated id (an opaque string), which uniquely identifies itself during the lifetime of its containing service worker registration.
A service worker is dispatched a set of lifecycle events, install and activate, and functional events including fetch.
-A service worker has an associated script resource (a script), which represents its own script resource. It is initially set to null. A script resource has an associated has ever been evaluated flag. It is initially unset. A script resource has an associated HTTPS state which is "none
", "deprecated
", or "modern
". Unless stated otherwise, it is "none
".
A service worker has an associated script resource (a script), which represents its own script resource. It is initially set to null. A script resource has an associated has ever been evaluated flag. It is initially unset. A script resource has an associated HTTPS state (an HTTPS state value). It is initially "none
". A script resource has an associated referrer policy (a referrer policy). It is initially the empty string.
A service worker has an associated script resource map which is a List of the Record {[[key]], [[value]]} where [[key]] is a URL and [[value]] is a response.
A service worker has an associated skip waiting flag. Unless stated otherwise it is unset.
A service worker has an associated imported scripts updated flag. It is initially unset.
@@ -3585,8 +3585,8 @@Whenever a user agent invokes Run Service Worker algorithm with a service worker serviceWorker:
Content-Security-Policy
HTTP header containing the value policy, the user agent must enforce policy for serviceWorker.
- Content-Security-Policy-Report-Only
HTTP header containing the value policy, the user agent must monitor policy for serviceWorker.
+ Content-Security-Policy
HTTP header containing the value policy, the user agent must enforce policy for serviceWorker.
+ Content-Security-Policy-Report-Only
HTTP header containing the value policy, the user agent must monitor policy for serviceWorker.
The primary reason for this restriction is to mitigate a broad class of content injection vulnerabilities, such as cross-site scripting (XSS).
@@ -3895,6 +3895,8 @@TypeError
.
none
".
+ Service-Worker-Allowed
` in response’s header list.
See the definition of the Service-Worker-Allowed header in Appendix B: Extended HTTP headers.
+Referrer-Policy
` header of response.
Else, continue the rest of these steps after the algorithm’s asynchronous completion, with script being the asynchronous completion value.
ServiceWorkerRegistration
object which represents registration.
Remove this definition after sorting out the referencing sites.
+WorkerLocation
object and associate it with workerGlobalScope.
An HTTP request to fetch a service worker’s script resource will include the following header:
+An HTTP request to fetch a service worker’s script resource will include the following header:
Service-Worker
`
This header helps administrators log the requests and detect threats.
An HTTP response to a service worker’s script resource request can include the following header:
+An HTTP response to a service worker’s script resource request can include the following header:
Service-Worker-Allowed
`
ABNF for the values of the headers used by the service worker’s script resource requests and responses:
+ABNF for the values of the headers used by the service worker’s script resource requests and responses:
Service-Worker = %x73.63.72.69.70.74 ; "script", case-sensitive
The validation of the Service-Worker-Allowed header’s values is done by URL parsing algorithm (in Update algorithm) instead of using ABNF.
@@ -5152,6 +5158,7 @@