HTMLIFrameElement.policy

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

The policy read-only property of the HTMLIFrameElement interface returns the Policy interface which provides a simple API for introspecting the feature policies applied to a specific document.

Syntax

var policy = HTMLIFrameElement.policy

Value

The Policy interface.

Specifications

Specification Status Comment
Unknown Unknown Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support691 No No No562 No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No691 No No562 No ?

1. From version 69: this feature is behind the #enable-experimental-productivity-features preference (needs to be set to Enabled). To change preferences in Chrome, visit chrome://flags.

2. From version 56: this feature is behind the #enable-experimental-productivity-features preference (needs to be set to Enabled).

Document Tags and Contributors

Contributors to this page: jpmedley
Last updated by: jpmedley,