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