blob: bfbcac478b70a96db2b9c054037848364bfdb19d [file] [log] [blame]
<?php
header("From-Origin: Same");
?>
<html>
<head>
<script src="/js-test-resources/js-test.js"></script>
<script>
description("Tests that a same-origin top frame document load succeeds if the server blocks cross-origin loads with a 'From-Origin: same' response header.");
jsTestIsAsync = true;
testRunner.dumpChildFramesAsText();
function onloadFired() {
testPassed("Onload event fired.");
finishJSTest();
}
</script>
</head>
<body onload="onloadFired()">
<h3>The Document</h3>
</body>
</html>