ServiceWorker Domain
Experimental
Methods
- ServiceWorker.deliverPushMessage
- ServiceWorker.disable
- ServiceWorker.dispatchPeriodicSyncEvent
- ServiceWorker.dispatchSyncEvent
- ServiceWorker.enable
- ServiceWorker.setForceUpdateOnPageLoad
- ServiceWorker.skipWaiting
- ServiceWorker.startWorker
- ServiceWorker.stopAllWorkers
- ServiceWorker.stopWorker
- ServiceWorker.unregister
- ServiceWorker.updateRegistration
Events
- ServiceWorker.workerErrorReported
- ServiceWorker.workerRegistrationUpdated
- ServiceWorker.workerVersionUpdated
Types
Methods
Events
Types
ServiceWorker.ServiceWorkerErrorMessage #
ServiceWorker error message.
Type: object
Properties
errorMessage stringregistrationId versionId stringsourceURL stringlineNumber integercolumnNumber integerServiceWorker.ServiceWorkerRegistration #
ServiceWorker registration.
Type: object
Properties
registrationId scopeURL stringisDeleted booleanServiceWorker.ServiceWorkerVersion #
ServiceWorker version.
Type: object
Properties
versionId stringregistrationId scriptURL stringrunningStatus status scriptLastModifiedOptional
numberThe Last-Modified header value of the main script.
scriptResponseTimeOptional
numberThe time at which the response headers of the main script were received from the server. For cached script it is the last time the cache entry was validated.
controlledClientsOptional
array[ Target.TargetID ]targetIdOptional
routerRulesOptional
stringServiceWorker.ServiceWorkerVersionRunningStatus #
Type: string
Allowed values: stopped, starting, running, stopping
ServiceWorker.ServiceWorkerVersionStatus #
Type: string
Allowed values: new, installing, installed, activating, activated, redundant