blob: 22bab07f65e36a744fb16d23714695af47780856 [file] [log] [blame]
<html>
<body>
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
testRunner.setCanOpenWindows();
testRunner.overridePreference("WebKitAllowRunningInsecureContent", false);
}
window.addEventListener("message", function (e) {
if (window.testRunner)
testRunner.notifyDone();
}, false);
</script>
<p>This test opens a HTTPS window that loads insecure data via XHR. We should
trigger a mixed content callback and block the load.</p>
<script>
window.open("https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-sync-xhr-post.html");
</script>
</body>
</html>