blob: 16a562776b4a49b90d4ff79b999946c461176a9c [file] [log] [blame]
<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 = "HTTP://127.0.0.1:8000/security/resources/cross-frame-iframe.html";
var iframeId ="aFrame";
var passMessage = "PASS: Protocol name compare is case insensitive!";
var failMessage = "FAIL: Protocol name compare is case sensitive, should be case insensitive.";
canAccessFrame(url, iframeId, passMessage, failMessage);
</script>
</body>
</html>