Document.featurePolicy

The featurePolicy read-only property of the Document interface returns the FeaturePolicy interface which provides a simple API for inspecting the feature policies applied to a specific document.

Syntax

var policy = iframeElement.featurePolicy

Value

A FeaturePolicy object that can be used to inspect the Feature Policy settings applied to the document.

Specifications

Specification Status Comment
Permissions Policy Editor's Draft Initial definition.

Browser compatibility

BCD tables only load in the browser