Client: frameType property

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".

Value

One of these four strings: "auxiliary", "top-level", "nested", or "none".

Specifications

Specification
Service Workers
# client-frametype

Browser compatibility

BCD tables only load in the browser