OLD | NEW |
1 <html> | 1 <!DOCTYPE html> |
2 <body> | |
3 <script> | 2 <script> |
4 if (window.testRunner) { | 3 if (window.testRunner) { |
5 testRunner.waitUntilDone(); | 4 testRunner.waitUntilDone(); |
6 testRunner.dumpAsText(); | 5 testRunner.dumpAsText(); |
7 testRunner.setCanOpenWindows(); | 6 testRunner.setCanOpenWindows(); |
8 testRunner.setCloseRemainingWindowsWhenComplete(true); | 7 testRunner.setCloseRemainingWindowsWhenComplete(true); |
9 } | 8 } |
10 | 9 |
11 window.addEventListener("message", function (e) { | 10 window.addEventListener("message", function (e) { |
12 if (window.testRunner) | 11 if (window.testRunner) |
13 testRunner.notifyDone(); | 12 testRunner.notifyDone(); |
14 }, false); | 13 }, false); |
15 | |
16 </script> | 14 </script> |
17 <p>This test opens a window that loads an insecure style sheet. We should | 15 <p>This test opens a window that loads a style sheet which fetches an insecure |
18 trigger a mixed content callback because the main frame in the window is HTTPS | 16 background image and an insecure web font. We should trigger a mixed content |
19 but is running insecure content.</p> | 17 callback because the main frame in the window is HTTPS but is running insecure |
| 18 content.</p> |
20 <script> | 19 <script> |
21 window.open("https://127.0.0.1:8443/security/mixedContent/resources/frame-with-i
nsecure-css.html"); | 20 window.open("https://127.0.0.1:8443/security/mixedContent/resources/frame-with-i
nsecure-css-resources.html"); |
22 </script> | 21 </script> |
23 </body> | |
24 </html> | |
OLD | NEW |