blob: 2c06b82bf4fc319ec53ed2d4a19f04ffe53f6cb4 [file]
<!doctype html><!-- webkit-test-runner [ UpgradeMixedContentEnabled=true ] -->
<html>
<body>
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
testRunner.dumpFrameLoadCallbacks();
}
window.addEventListener("message", function (e) {
if (window.testRunner)
testRunner.notifyDone();
}, false);
</script>
<p>This test opens a window that loads an insecure iframe. We should trigger a
mixed content callback and block the request because the main frame in the
window is HTTPS but is displaying insecure content.</p>
<script>
onload = function() {
window.open("https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-frame.html");
}
</script>
</body>
</html>