Back to Content

HTMLIFrameElement: csp property

files/en-us/web/api/htmliframeelement/csp/index.md

latest363 B
Original Source

{{APIRef("HTML DOM")}}{{SeeCompatTable}}

The csp property of the {{domxref("HTMLIFrameElement")}} interface specifies the Content Security Policy that an embedded document must agree to enforce upon itself.

Value

A content security policy.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}