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
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
featurePolicy |
74 |
79 |
69
65-69
|
No |
62 |
No |
74 |
74 |
65 |
53 |
No |
11.0 |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Document/featurePolicy