<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:8080/security/resources/cross-frame-iframe.html";
    var iframeId ="aFrame";
    var passMessage = "PASS: Cross frame access to different port was denied!";
    var failMessage = "FAIL: Cross frame access to a different port was allowed.";
    cannotAccessFrame(url, iframeId, passMessage, failMessage);
</script>
</body>
</html>
