report-frame-ancestors-with-x-frame-options.sub.html (554B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 <title>Reporting works with report-only frame-ancestors even if frame is blocked by X-Frame-Options</title> 7 </head> 8 <body> 9 <iframe src="./support/not-embeddable-frame.py?reportID={{$id:uuid()}}&reportOnly=true&xFrameOptions=DENY"></iframe> 10 <script async defer src='../support/checkReport.sub.js?reportField=violated-directive&reportValue=frame-ancestors&reportID={{$id}}'></script> 11 </body> 12 </html>