blob: 31fe9472e68c763a2da5906f4992c8751c84e94e [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
function pass()
{
window.opener.postMessage("PASS did not load image.", "*");
}
function fail()
{
window.opener.postMessage("FAIL did load image.", "*");
}
window.onload = function ()
{
var image = new Image;
image.onerror = pass;
image.onload = fail;
image.src = "http://127.0.0.1:8080/resources/redirect.php?url=https://localhost:8443/security/mixedContent/resources/subresource/protected-image.php";
document.body.appendChild(image);
}
</script>
</head>
<body>
</body>
</html>