ServiceWorker Domain
Experimental
Methods
- ServiceWorker.deliverPushMessage
- ServiceWorker.disable
- ServiceWorker.dispatchPeriodicSyncEvent
- ServiceWorker.dispatchSyncEvent
- ServiceWorker.enable
- ServiceWorker.inspectWorker
- 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
string
registrationId
versionId
string
sourceURL
string
lineNumber
integer
columnNumber
integer
ServiceWorker.ServiceWorkerRegistration #
ServiceWorker registration.
Type: object
Properties
registrationId
scopeURL
string
isDeleted
boolean
ServiceWorker.ServiceWorkerVersion #
ServiceWorker version.
Type: object
Properties
versionId
string
registrationId
scriptURL
string
runningStatus
status
scriptLastModified
Optional
number
The Last-Modified header value of the main script.
scriptResponseTime
Optional
number
The 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.
controlledClients
Optional
array[ Target.TargetID ]
targetId
Optional
routerRules
Optional
string
ServiceWorker.ServiceWorkerVersionRunningStatus #
Type: string
Allowed values: stopped
, starting
, running
, stopping
ServiceWorker.ServiceWorkerVersionStatus #
Type: string
Allowed values: new
, installing
, installed
, activating
, activated
, redundant