我们的志愿者还没有将这篇文章翻译为 中文 (简体)。加入我们帮助完成翻译
您也可以阅读此文章的English (US)版。
This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The policy
read-only property of the Document
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
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Basic support | Chrome
Full support
69
| Edge No support No | Firefox
Full support
65
| IE No support No | Opera
Full support
56
| Safari No support No | WebView Android
Full support
69
| Chrome Android
Full support
69
| Edge Mobile No support No | Firefox Android
Full support
65
| Opera Android
Full support
56
| Safari iOS No support No | Samsung Internet Android ? |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- Experimental. Expect behavior to change in the future.
- Experimental. Expect behavior to change in the future.
- User must explicitly enable this feature.
- User must explicitly enable this feature.