Client - Web APIs | MDN
Instance methods
Client.postMessage()-
Sends a message to the client.
Instance properties
Client.frameTypeRead only-
The client's frame type as a string. It can be
"auxiliary","top-level","nested", or"none". Client.idRead only-
The universally unique identifier of the client as a string.
Client.typeRead only-
The client's type as a string. It can be
"window","worker", or"sharedworker". Client.urlRead only-
The URL of the client as a string.
Specifications
| Specification |
|---|
| Service Workers Nightly # client-interface |