blob: 7bb34edc534b107d666325b9840a5c2ac5dd9ec6 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFramesAsText();
testRunner.dumpFrameLoadCallbacks();
testRunner.waitUntilDone();
}
</script>
</head>
<body>
<p>This test loads a secure iframe that loads an insecure image. We should *not* trigger a
mixed content block even though the child frame has CSP directive block-all-mixed-content
because the insecure image is upgraded to a secure image as the child frame has CSP directive
upgrade-insecure-requests.</p>
<iframe src="https://127.0.0.1:8443/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-secure-image-after-upgrade.html" height="300"></iframe>
</body>
</html>