ReadonlyactiveThe active read-only property of the This property is initially set to null.
ReadonlycookiesThe cookies read-only property of the ServiceWorkerRegistration interface returns a reference to the CookieStoreManager interface, which enables a web app to subscribe to and unsubscribe from cookie change events in a service worker.
ReadonlyinstallingThe installing read-only property of the initially set to null.
ReadonlynavigationThe navigationPreload read-only property of the ServiceWorkerRegistration interface returns the NavigationPreloadManager associated with the current service worker registration.
ReadonlypushThe pushManager read-only property of the support for subscribing, getting an active subscription, and accessing push permission status.
ReadonlyscopeThe scope read-only property of the ServiceWorkerRegistration interface returns a string representing a URL that defines a service worker's registration scope; that is, the range of URLs a service worker can control.
ReadonlyupdateThe updateViaCache read-only property of the ServiceWorkerRegistration interface returns the value of the setting used to determine the circumstances in which the browser will consult the HTTP cache when it tries to update the service worker or any scripts that are imported via WorkerGlobalScope.importScripts.
ReadonlywaitingThe waiting read-only property of the set to null.
The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optionaloptions: boolean | AddEventListenerOptionsThe addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optionaloptions: boolean | AddEventListenerOptionsThe dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
The getNotifications() method of the ServiceWorkerRegistration interface returns a list of the notifications in the order that they were created from the current origin via the current service worker registration.
Optionalfilter: GetNotificationOptionsThe removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optionaloptions: boolean | EventListenerOptionsThe removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optionaloptions: boolean | EventListenerOptionsThe showNotification() method of the service worker.
Optionaloptions: NotificationOptionsThe unregister() method of the registration and returns a Promise.
The update() method of the worker.
The
ServiceWorkerRegistrationinterface of the Service Worker API represents the service worker registration. Available only in secure contexts.MDN Reference