<html> | |
<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.dumpChildFramesAsText(); | |
} | |
</script> | |
<body> | |
<p>This test verifies that sandboxed iframe does not have XmlHttpRequest access | |
to its server. It will print "PASS" on success.</p> | |
<iframe sandbox="allow-scripts" | |
src="http://127.0.0.1:8000/xmlhttprequest/resources/access-control-sandboxed-iframe-denied-iframe.html" style="width: 500px;"> | |
</iframe> | |
</body> | |
</html> |