Readonly
scriptURLReadonly
stateOptional
options: boolean | AddEventListenerOptionsOptional
options: boolean | AddEventListenerOptionsOptional
options: StructuredSerializeOptionsOptional
options: boolean | EventListenerOptionsOptional
options: boolean | EventListenerOptionsGenerated using TypeDoc
This ServiceWorker API interface 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. Available only in secure contexts.