puppeteer/new-docs/puppeteer.protocol.serviceworker.serviceworkerversion.md
2020-07-13 14:01:35 +01:00

2.1 KiB

Home > puppeteer > Protocol > ServiceWorker > ServiceWorkerVersion

Protocol.ServiceWorker.ServiceWorkerVersion interface

ServiceWorker version.

Signature:

export interface ServiceWorkerVersion 

Properties

Property Type Description
controlledClients Target.TargetID[]
registrationId RegistrationID
runningStatus ServiceWorkerVersionRunningStatus
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.
scriptURL string
status ServiceWorkerVersionStatus
targetId Target.TargetID
versionId string