OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <body> |
| 4 <p> |
| 5 Prefetching from insecure source must trigger a mixed content callback. |
| 6 </p> |
| 7 |
| 8 <link rel="prefetch" href="http://127.0.0.1:8080/resources/square.png" onload="
prefetch_onload()" /> |
| 9 |
| 10 <script> |
| 11 if (location.protocol != 'https:') |
| 12 location = 'https://127.0.0.1:8443/security/mixedContent/insecure-prefetch-i
n-main-frame.html'; |
| 13 |
| 14 if (window.testRunner) { |
| 15 testRunner.waitUntilDone(); |
| 16 testRunner.dumpAsText(); |
| 17 } |
| 18 |
| 19 function prefetch_onload() { |
| 20 if (window.testRunner) |
| 21 testRunner.notifyDone(); |
| 22 } |
| 23 </script> |
| 24 </body> |
| 25 </html> |
OLD | NEW |