See ¶5.4 cache of ServiceWorker whatwg spec.
See ¶5.4 cache of ServiceWorker whatwg spec.
See ¶5.4 cache of ServiceWorker whatwg spec.
See ¶5.4 cache of ServiceWorker whatwg spec.
See ¶5.5 cache of ServiceWorker whatwg spec.
See ¶5.5 cache of ServiceWorker whatwg spec.
see ¶4.12.4.1 Proxying canvases to workers in whatwg html spec.
see ¶4.12.4.1 Proxying canvases to workers in whatwg html spec.
¶4.2 Client of Service Workers 1 spec.
¶4.2 Client of Service Workers 1 spec.
¶4.2 Client of Service Workers 1 spec.
¶4.2 Client of Service Workers 1 spec.
See ¶4.3 clients of ServiceWorker whatwg spec.
See ¶4.3 clients of ServiceWorker whatwg spec.
See ¶4.4 ExtendableEvent of whatwg ServiceWorker spec.
See ¶4.4 ExtendableEvent of whatwg ServiceWorker spec.
An ExtendableEvent object has an associated extend lifetime promises (an array of promises). It is initially set to null.
Service workers define the extendable message event that extends the message event defined in HTML to allow extending the lifetime of the event.
Service workers define the extendable message event that extends the message event defined in HTML to allow extending the lifetime of the event.
MDN
See FetchEvent on MDN
See FetchEvent on MDN
¶4.5 FetchEvent on whatwg ServiceWorker spec.
The ServiceWorker interface of the ServiceWorker API provides a reference to a service worker.
The ServiceWorker interface of the ServiceWorker API provides a reference to a service worker. Multiple browsing contexts (e.g. pages, workers, etc.) can be associated with the same service worker, each through a unique ServiceWorker object.
MDN
The ServiceWorkerContainer interface of the ServiceWorker API exposes the ServiceWorkerContainer.
The ServiceWorkerContainer interface of the ServiceWorker API exposes the ServiceWorkerContainer. register(scriptURL, scope[, base]) method used to register service workers, and the ServiceWorkerContainer. controller property used to determine whether or not the current page is actively controlled.
MDN
The ServiceWorkerGlobalScope interface of the ServiceWorker API represents the global execution context of a service worker.
The ServiceWorkerGlobalScope interface of the ServiceWorker API represents the global execution context of a service worker.
Developers should keep in mind that the ServiceWorker.state is not persisted across the termination/restart cycle, so each event handler should assume it's being invoked with a bare, default global state.
Once successfully registered, a service worker can and will be terminated when idle to conserve memory and processor power. An active service worker is automatically restarted to respond to events, such as ServiceWorkerGlobalScope.onfetch or ServiceWorkerGlobalScope.onmessage.
Additionally, synchronous requests are not allowed from within a service worker — only asynchronous requests, like those initiated via the fetch() method, can be used.
MDN
The ServiceWorkerMessageEvent interface of the ServiceWorker API contains information about an event sent to a ServiceWorkerContainer target.
The ServiceWorkerMessageEvent interface of the ServiceWorker API contains information about an event sent to a ServiceWorkerContainer target. This extends the default message event to allow setting a ServiceWorker object as the source of a message. The event object is accessed via the handler function of a message event, when fired by a message received from a service worker.
MDN
The ServiceWorkerRegistion interface of the ServiceWorker API represents the service worker registration.
The ServiceWorkerRegistion interface of the ServiceWorker API represents the service worker registration. You register a service worker to control one or more pages that share the same origin.
MDN
See ¶3.1 ServiceWorker of ServiceWorker whatwg spec.
See ¶3.1 ServiceWorker of ServiceWorker whatwg spec.
¶2.7.4 Transferable Objects in whatwg html spec.
The WindowClient interface of the ServiceWorker API represents the scope of a service worker client that is a document in a browser context, controlled by an active worker.
The WindowClient interface of the ServiceWorker API represents the scope of a service worker client that is a document in a browser context, controlled by an active worker. The service worker client independently selects and uses a service worker for its own loading and sub-resources.
MDN
part of ServiceWorker ¶4.2.2 frameType of serviceWorker spec
Service Workers
Service Workers W3C Working Draft