<html> | |
<body> | |
The navigation should fail. This text should be visible. | |
<script> | |
window.onload = function() | |
{ | |
try { | |
top.location = "http://localhost:8000/security/frameNavigation/resources/navigation-changed-iframe.html"; | |
top.postMessage("FAIL", "*"); | |
} catch(e) { | |
top.postMessage("PASS", "*"); | |
} | |
} | |
</script> | |
</body> | |
</html> |