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.

Note: This feature is accessible in Firefox behind a flag under a different name HTMLIFrameElement.policy, see Bugzilla issue.


var policy = HTMLIFrameElement.featurePolicy


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


Specification Status Comment
Feature Policy Editor's Draft Initial definition.

Browser compatibility

No compatibility data found. Please contribute data for "api.HTMLIFrameElement.featurePolicy" (depth: 1) to the MDN compatibility data repository.

Document Tags and Contributors

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