| 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 onload = function() { | 8 onload = function() { |
| 7 if (window.internals) | 9 if (window.internals) |
| 8 internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(docu
ment.querySelector('iframe')); | 10 internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(docu
ment.querySelector('iframe')); |
| 9 }; | 11 }; |
| 10 </script> | 12 </script> |
| 11 <p>This test loads a secure iframe that loads an insecure plugin. We should | 13 <p>This test loads a secure iframe that loads an insecure plugin. We should |
| 12 get a mixed content callback because the insecure plug-in can script the secure | 14 get a mixed content callback because the insecure plug-in can script the secure |
| 13 origin.</p> | 15 origin.</p> |
| 14 <iframe src="https://127.0.0.1:8443/security/mixedContent/resources/frame-with-i
nsecure-plugin.html"></iframe> | 16 <iframe src="https://127.0.0.1:8443/security/mixedContent/resources/frame-with-i
nsecure-plugin.html"></iframe> |
| 15 </body> | 17 </body> |
| 16 </html> | 18 </html> |
| OLD | NEW |