stable (1.2) stable RC (1.3) latest (tip-of-tree) v8-inspector (node) Home
Domains
Accessibility Animation ApplicationCache Audits Browser CSS CacheStorage Console DOM DOMDebugger DOMSnapshot DOMStorage Database Debugger DeviceOrientation Emulation HeadlessExperimental HeapProfiler IO IndexedDB Input Inspector LayerTree Log Memory Network Overlay Page Performance Profiler Runtime Schema Security ServiceWorker Storage SystemInfo Target Tethering Tracing
Chrome DevTools Protocol Viewer - latest (tip-of-tree)

ServiceWorker Domain

Experimental

Methods

ServiceWorker.deliverPushMessage

Parameters
origin
string
registrationId
string
data
string

ServiceWorker.disable

ServiceWorker.dispatchSyncEvent

Parameters
origin
string
registrationId
string
tag
string
lastChance
boolean

ServiceWorker.enable

ServiceWorker.inspectWorker

Parameters
versionId
string

ServiceWorker.setForceUpdateOnPageLoad

Parameters
forceUpdateOnPageLoad
boolean

ServiceWorker.skipWaiting

Parameters
scopeURL
string

ServiceWorker.startWorker

Parameters
scopeURL
string

ServiceWorker.stopAllWorkers

ServiceWorker.stopWorker

Parameters
versionId
string

ServiceWorker.unregister

Parameters
scopeURL
string

ServiceWorker.updateRegistration

Parameters
scopeURL
string

Events

ServiceWorker.workerErrorReported

Parameters

ServiceWorker.workerRegistrationUpdated

Parameters
registrations
array [ ServiceWorkerRegistration ]

ServiceWorker.workerVersionUpdated

Parameters
versions
array [ ServiceWorkerVersion ]

Types

ServiceWorkerRegistration

ServiceWorker registration.

Type: object

Properties
registrationId
string
scopeURL
string
isDeleted
boolean

ServiceWorkerVersionRunningStatus

Type: string

Allowed values

stopped, starting, running, stopping.

ServiceWorkerVersionStatus

Type: string

Allowed values

new, installing, installed, activating, activated, redundant.

ServiceWorkerVersion

ServiceWorker version.

Type: object

Properties
versionId
string
registrationId
string
scriptURL
string
scriptLastModified
number The Last-Modified header value of the main script.
scriptResponseTime
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
array [ Target.TargetID ]
targetId
Target.TargetID

ServiceWorkerErrorMessage

ServiceWorker error message.

Type: object

Properties
errorMessage
string
registrationId
string
versionId
string
sourceURL
string
lineNumber
integer
columnNumber
integer