<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
function checkDidLoadStylesheet() | |
{ | |
if (document.styleSheets.length) | |
window.opener.postMessage("FAIL did load stylesheet.", "*"); | |
else | |
window.opener.postMessage("PASS did not load stylesheet.", "*"); | |
} | |
</script> | |
<link rel="stylesheet" href="http://127.0.0.1:8080/resources/redirect.py?url=https://localhost:8443/security/mixedContent/resources/subresource/protected-stylesheet.py" onerror="checkDidLoadStylesheet()"> | |
</head> | |
<body> | |
</body> | |
</html> |