<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="/js-test-resources/js-test.js"></script> | |
<script> | |
description("Tests that a cross-origin document load fails if the server blocks cross-origin loads with a 'From-Origin: same-site' response header."); | |
testRunner.dumpChildFramesAsText(); | |
</script> | |
</head> | |
<body> | |
<iframe src="http://localhost:8000/from-origin/resources/iframe.php?fromOrigin=same-site"></iframe> | |
</body> | |
</html> |