Results 1 - 20 of 123

ServiceWorkerState

The ServiceWorkerState is associated with its ServiceWorker's state.
Service Workers ServiceWorker

ExtendableMessageEvent

The ExtendableMessageEvent interface of the ServiceWorker API represents the event object of a message event fired on a service worker (when a channel message is received on the ServiceWorkerGlobalScope from another context) — extends the lifetime of such events.
API Experimental ExtendableMessageEvent Interface Reference Service Workers

ServiceWorkerRegistration.scope

The scope read-only property of the ServiceWorkerRegistration interface returns a unique identifier for a service worker registration. The service worker must be on the same origin as the document that registers the ServiceWorker.
API Property Reference scope Service Workers ServiceWorkerRegistration

ServiceWorkerRegistration.unregister()

The unregister method of the ServiceWorkerRegistration interface unregisters the service worker registration and returns a Promise. The promise will resolve to false if no registration was found, otherwise it resolves to true irrespective of whether unregistration happened or not (it may not unregister if someone else just called ServiceWorkerContainer.register with the same scope.) The service worker will finish any ongoing operations before it is unregistered.
API Method Reference Service Workers ServiceWorkerRegistration unregister

FetchEvent.isReload

The isReload read-only property of the FetchEvent interface returns true if the event was dispatched by the user attempting to reload the page, and false otherwise. Pressing the refresh button is a reload while clicking a link and pressing the back button is not.
API Experimental Expérimental FetchEvent isReload Property Reference Référence Service Service Workers Workers