blob: 9fcb974ba78847989540e4a6b8914b9706d57dbe [file] [log] [blame]
<!DOCTYPE html>
<iframe src="resources/sandbox.php?sandbox=allow-top-navigation"></iframe>
<script>
if (window.testRunner)
testRunner.dumpAsText();
window.onload = function() {
var frame = document.getElementsByTagName("iframe")[0];
if (frame.contentDocument)
alert("FAIL: Iframe was not in a unique origin");
else
alert("PASS: Iframe was in a unique origin");
};
</script>