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