[ Mac WK2 ] Layout Test http/tests/security/contentSecurityPolicy/block-all-mixed...
[WebKit-https.git] / LayoutTests / http / tests / security / contentSecurityPolicy / block-all-mixed-content / resources / frame-with-insecure-image-with-enforced-and-report-policies.php
1 <?php
2     header("Content-Security-Policy-Report-Only: block-all-mixed-content");
3     header("Content-Security-Policy: block-all-mixed-content");
4 ?>
5 <!DOCTYPE html>
6 <html>
7 <head>
8 <script src="dump-securitypolicyviolation-and-notify-done.js"></script>
9 </head>
10 <body>
11 <script>
12 // Use document.write() to bypass the HTMLPreloadScanner and address flakiness.
13 document.write('<img src="http://127.0.0.1:8000/security/resources/compass.jpg">');
14 </script>
15 </body>
16 </html>