HTMLIFrameElement.featurePolicy

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The featurePolicy read-only property of the HTMLIFrameElement interface returns the FeaturePolicy interface which provides a simple API for introspecting the feature policies applied to a specific frame.

Syntax

var policy = HTMLIFrameElement.featurePolicy

Value

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

Specifications

No specification found

No specification data found for api.HTMLIFrameElement.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/HTMLIFrameElement/featurePolicy