HTMLIFrameElement: csp property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.
Thecsp property of theHTMLIFrameElementinterface specifies theContent Security Policy that anembedded document must agree to enforce upon itself.
In this article
Value
A content security policy.
Specifications
| Specification |
|---|
| Content Security Policy: Embedded Enforcement> # dom-htmliframeelement-csp> |