Client.frameType

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The frameType read-only property of the Client interface indicates the type of browsing context of the current Client. This value can be one of "auxiliary""top-level""nested", or "none".

Syntax

var myFrameType = client.frameType;

Example

TBD

Specifications

Specification
Service Workers 1
# client-frametype

Browser compatibility

BCD tables only load in the browser