blob: d7c92bc0df17373fa3210278e3e0479b9f6eea02 [file] [log] [blame]
<!DOCTYPE html>
<iframe src="resources/sandbox.py?report-only=1"></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>