puppeteer/new-docs/puppeteer.protocol.serviceworker.serviceworkerversion.md

29 lines
2.1 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [ServiceWorker](./puppeteer.protocol.serviceworker.md) &gt; [ServiceWorkerVersion](./puppeteer.protocol.serviceworker.serviceworkerversion.md)
## Protocol.ServiceWorker.ServiceWorkerVersion interface
ServiceWorker version.
<b>Signature:</b>
```typescript
export interface ServiceWorkerVersion
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [controlledClients](./puppeteer.protocol.serviceworker.serviceworkerversion.controlledclients.md) | [Target.TargetID](./puppeteer.protocol.target.targetid.md)<!-- -->\[\] | |
| [registrationId](./puppeteer.protocol.serviceworker.serviceworkerversion.registrationid.md) | [RegistrationID](./puppeteer.protocol.serviceworker.registrationid.md) | |
| [runningStatus](./puppeteer.protocol.serviceworker.serviceworkerversion.runningstatus.md) | [ServiceWorkerVersionRunningStatus](./puppeteer.protocol.serviceworker.serviceworkerversionrunningstatus.md) | |
| [scriptLastModified](./puppeteer.protocol.serviceworker.serviceworkerversion.scriptlastmodified.md) | number | The Last-Modified header value of the main script. |
| [scriptResponseTime](./puppeteer.protocol.serviceworker.serviceworkerversion.scriptresponsetime.md) | 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](./puppeteer.protocol.serviceworker.serviceworkerversion.scripturl.md) | string | |
| [status](./puppeteer.protocol.serviceworker.serviceworkerversion.status.md) | [ServiceWorkerVersionStatus](./puppeteer.protocol.serviceworker.serviceworkerversionstatus.md) | |
| [targetId](./puppeteer.protocol.serviceworker.serviceworkerversion.targetid.md) | [Target.TargetID](./puppeteer.protocol.target.targetid.md) | |
| [versionId](./puppeteer.protocol.serviceworker.serviceworkerversion.versionid.md) | string | |