Reviewed by Adele.
[WebKit-https.git] / LayoutTests / http / tests / security / cross-frame-access-parent-explicit-domain.html
index c349272bd2ea6a8d50426d6f5bf7b55b463aecce..eedb364f5166b4d807faf217212128120ab4e3a0 100644 (file)
 </script>
 </body>
 </html>
-<html>
-<head>
-    <script src="resources/cross-frame-access.js"></script>
-</head>
-<body>
-<iframe id="aFrame"></iframe>
-<pre id="console"></pre>
-<script>
-    // Explicitly set the domain.
-    document.domain = "127.0.0.1";
-
-    var url = "http://127.0.0.1:8000/security/resources/cross-frame-iframe.html";
-    var iframeId ="aFrame";
-    var passMessage = "PASS: Cross frame access from frame explicitly setting document.domain was denied.";
-    var failMessage = "Fail: Cross frame access from frame explicitly setting document.domain was allowed.";
-    cannotAccessFrame(url, iframeId, passMessage, failMessage);
-</script>
-</body>
-</html>