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