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.


var policy = iframeElement.featurePolicy


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


No specification found

No specification data found for api.Document.featurePolicy.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.

Browser compatibility

BCD tables only load in the browser