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