OLD | NEW |
1 <html> | 1 <html> |
2 <body> | 2 <body> |
3 <script> | 3 <script> |
4 if (window.testRunner) | 4 if (window.testRunner) { |
5 testRunner.dumpAsText(); | 5 testRunner.dumpAsText(); |
| 6 testRunner.overridePreference("WebKitAllowRunningInsecureContent", true); |
| 7 } |
6 </script> | 8 </script> |
7 <p>This test loads a secure iframe that loads an insecure script. We should | 9 <p>This test loads a secure iframe that loads an insecure script. We should |
8 trigger a mixed content callback even though the main frame is HTTP because the | 10 trigger a mixed content callback even though the main frame is HTTP because the |
9 HTTPS frame's origin is contaminated with an insecure script.</p> | 11 HTTPS frame's origin is contaminated with an insecure script.</p> |
10 <iframe src="https://127.0.0.1:8443/security/mixedContent/resources/frame-with-i
nsecure-script.html"></iframe> | 12 <iframe src="https://127.0.0.1:8443/security/mixedContent/resources/frame-with-i
nsecure-script.html"></iframe> |
11 </body> | 13 </body> |
12 </html> | 14 </html> |
OLD | NEW |