OLD | NEW |
(Empty) | |
| 1 <!doctype html> |
| 2 <html> |
| 3 <head> |
| 4 <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-content
"> |
| 5 <script> |
| 6 if (window.testRunner) { |
| 7 testRunner.waitUntilDone(); |
| 8 testRunner.dumpAsText(); |
| 9 testRunner.dumpChildFramesAsText(); |
| 10 testRunner.overridePreference("WebKitAllowRunningInsecureContent", f
alse); |
| 11 } |
| 12 window.addEventListener("message", function (e) { |
| 13 if (window.testRunner) |
| 14 testRunner.notifyDone(); |
| 15 }, false); |
| 16 </script> |
| 17 </head> |
| 18 <body> |
| 19 <p>This test passes if the script in the frame below is loaded securely.</p> |
| 20 <iframe src="resources/frame-with-insecure-script.html"></iframe> |
| 21 </body> |
| 22 </html> |
OLD | NEW |