Results 1 - 13 of 13

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

ServiceWorkerRegistration

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.
API Draft Interface Offline offline Reference Service Workers ServiceWorkerRegistration Workers

ServiceWorkerRegistration.active

The active property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is activating or activated. This property is initially set to null.
active API Property Reference Référence Service Workers ServiceWorkerRegistration

ServiceWorkerRegistration.getNotifications()

The getNotifications() method of the ServiceWorkerRegistration interface returns a list of the notifications that have been fired from the current service worker.
API Experimental getNotifications Method Notifications Reference Service Workers ServiceWorker ServiceWorkerRegistration

ServiceWorkerRegistration.installing

The installing property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is installing. This property is initially set to null.
API Installing Property Reference Référence Service Workers ServiceWorkerRegistration

ServiceWorkerRegistration.onupdatefound

The onupdatefound property of the ServiceWorkerRegistration interface is an EventListener property called whenever an event of type statechange is fired; it is fired any time the ServiceWorkerRegistration.installing property acquires a new service worker.
API onupdatefound Property Reference Référence Service Workers ServiceWorkerRegistration

ServiceWorkerRegistration.periodicSync

The periodicSync read-only property of the ServiceWorkerRegistration interface returns a reference to the PeriodicSyncManager interface, which manages periodic background synchronization processes.
API Experimental periodicSync PeriodicSyncManager Property Reference Service Workers ServiceWorkerRegistration

ServiceWorkerRegistration.pushManager

The pushManager property of the ServiceWorkerRegistration interface returns a reference to the PushManager interface for managing push subscriptions; this includes support for subscribing, getting an active subscription, and accessing push permission status.
API Property Push PushManager Reference Service Workers ServiceWorkerRegistration

ServiceWorkerRegistration.sync

The sync property of the ServiceWorkerRegistration interface returns a reference to the SyncManager interface, which manages background synchronization processes.
API Experimental Property Reference Service Workers ServiceWorkerRegistration Sync sync

ServiceWorkerRegistration.update()

The update method of the ServiceWorkerRegistration interface attempts to update the service worker. It fetches the worker's script URL, and if the new worker is not byte-by-byte identical to the current worker, it installs the new worker. The fetch of the worker bypasses any browser caches if the previous fetch occurred over 24 hours ago.
API Method Reference Service Workers ServiceWorkerRegistration Update update

ServiceWorkerRegistration.waiting

The waiting property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is installed. This property is initially set to null.
API Property Reference Référence Service Workers ServiceWorkerRegistration waiting