blob: 51f6c2ca93821f8ea0b9d3add802a7544337f175 [file] [log] [blame]
<html>
<body>
<p>Target Child</p>
<script>
window.parent.frames[1].document.getElementById('button').addEventListener("click", function() {
try {
alert("document.domain: " + window.document.domain);
} catch(e) {
}
}, false);
window.location = "http://localhost:8000/security/resources/cross-frame-iframe.html";
</script>
</body>
</html>