<html> | |
<head> | |
<script src="resources/cross-frame-access.js"></script> | |
</head> | |
<body> | |
<iframe id="aFrame" name="aFrame"></iframe> | |
<pre id="console"></pre> | |
<script> | |
var url = "https://127.0.0.1:8443/security/resources/cross-frame-iframe.html"; | |
var iframeId ="aFrame"; | |
var passMessage = "PASS: Cross frame access to https from http was denied!"; | |
var failMessage = "FAIL: Cross frame access to https from http was allowed."; | |
cannotAccessFrame(url, iframeId, passMessage, failMessage); | |
</script> | |
</body> | |
</html> |