HTMLIFrameElement:csp 属性
HTMLIFrameElement
接口的 csp
属性指定了嵌入文档必须同意对自己执行的内容安全策略。
值
一个内容安全策略。
规范
Specification |
---|
Content Security Policy: Embedded Enforcement # ref-for-dom-htmliframeelement-csp |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
csp |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.
The compatibility table on 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.