<!DOCTYPE html>
<html>
<head>
<script>
function pass()
{
    window.opener.postMessage("PASS did not load script.", "*");
}

function fail()
{
    window.opener.postMessage("FAIL did load script.", "*");
}
</script>
</head>
<body>
<script src="http://127.0.0.1:8080/resources/redirect.py?url=https://localhost:8443/security/mixedContent/resources/subresource/protected-script.py" onerror="pass()" onload="fail()"></script>
</body>
</html>
