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 Status Comment
Service Workers
The definition of 'frameType' in that specification.
Working Draft Initial definition.

Browser compatibility

BCD tables only load in the browser