diff --git a/source b/source index 8fb49f6060f..a32887286bb 100644 --- a/source +++ b/source @@ -2808,6 +2808,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
User-Agent
` value
Origin
` header
The following terms are defined in Service Workers:
The Document
has an active worker (null or a service worker). It is
+ initially null.
The resulting Document
must be considered an iframe
srcdoc
document.
Set the resulting Document
's active worker to the iframe
element's node document's
+ active worker.
src
attribute
@@ -76805,6 +76822,14 @@ dictionary DragEventInit : MouseEventInit {
+ Return the active worker of the
+ Document
with which window is currently associated.
Document
object and the resource used to generate the document.
+ If the document's address matched
+ a service worker registration
+ registration when the fetch algorithm obtained the resource, and
+ registration's active worker active
+ worker is not null, set the Document
's active worker to active worker.
Fetching a non-subresource (except a service worker)
+ triggers a service worker registration matching in the handle fetch algorithm. If the request's url is under the scope of a service worker
+ registration, and it has an active worker, the
+ document's Window
object's environment settings object represented
+ by a window client starts to be controlled.
Set the document's referrer to the address of the resource from which Request-URIs are obtained as determined when the fetch algorithm obtained the resource, if that algorithm was used and determined such a value; otherwise, set it to the empty @@ -84952,6 +84999,13 @@ interface NavigatorOnLine { while removing support for a hash function or cypher suite).
+A service worker that controls this environment settings object. The value will + be either null or a service worker.
+An environment settings object also has an outstanding rejected promises @@ -94270,6 +94324,10 @@ interface WorkerGlobalScope : EventTarget { data-x="concept-WorkerGlobalScope-module-map">module map. It is a module map, initially empty.
+A WorkerGlobalScope
object has an associated active worker (null or a service worker). It is initially null.
+
The self
attribute must return the
WorkerGlobalScope
object itself.
Execute the Initialize a global object
's CSP list
algorithm on worker global scope and response.
If url matched a service worker registration registration when + the fetch algorithm obtained the resource, and registration's active worker active worker is not null, set worker global + scope's active worker to + active worker.
+ +Fetching a non-subresource (except a service worker)
+ triggers a service worker registration matching in the handle fetch algorithm. If the request's
+ url is under the scope
+ of a service worker registration, and it has
+ an active worker, the WorkerGlobalScope
+ object's environment settings object represented by a worker client starts to be controlled.
If is shared is true, and there are any relevant application caches that are identified by a manifest URL with the same origin as url and that have url as one of their @@ -94926,6 +95006,14 @@ interface AbstractWorker { +
Return worker global scope's active worker.
+ +