CSP 2 - ignore (x-)frame-options if CSP with frame-ancestors directive exists

This commit is contained in:
janekptacijarabaci 2017-08-25 09:18:29 +02:00 committed by Roy Tam
commit a01c9abce8
13 changed files with 197 additions and 34 deletions

View file

@ -97,6 +97,11 @@ interface nsIContentSecurityPolicy : nsISerializable
*/
readonly attribute bool blockAllMixedContent;
/**
* Returns whether this policy enforces the frame-ancestors directive.
*/
readonly attribute bool enforcesFrameAncestors;
/**
* Obtains the referrer policy (as integer) for this browsing context as
* specified in CSP. If there are multiple policies and...