OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta http-equiv="Content-Security-Policy" content="strict-mixed-content-che
cking"> | 4 <meta http-equiv="Content-Security-Policy" content="block-all-mixed-content"
> |
5 <script> | 5 <script> |
6 if (window.testRunner) { | 6 if (window.testRunner) { |
7 testRunner.waitUntilDone(); | 7 testRunner.waitUntilDone(); |
8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
9 } | 9 } |
10 window.addEventListener("message", function (e) { | 10 window.addEventListener("message", function (e) { |
11 if (window.testRunner) | 11 if (window.testRunner) |
12 testRunner.notifyDone(); | 12 testRunner.notifyDone(); |
13 }, false); | 13 }, false); |
14 </script> | 14 </script> |
15 </head> | 15 </head> |
16 <body> | 16 <body> |
17 <p>This test passes if the image in the frame below is treated as blockable
content.</p> | 17 <p>This test passes if the image in the frame below is treated as blockable
content.</p> |
18 <iframe src="resources/frame-with-insecure-image.html"></iframe> | 18 <iframe src="resources/frame-with-insecure-image.html"></iframe> |
19 </body> | 19 </body> |
20 </html> | 20 </html> |
OLD | NEW |