blob: 9493d3ab04f6b6cb8017132bc585ea07e9d86614 [file] [log] [blame]
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFramesAsText();
}
</script>
</head>
<body>
<p>This test checks that a SECURITY_ERR exception is raised while accessing document.domain
in a sandboxed iframe (without &quot;allow-origin&quot; set). This test will print
&quot;PASS&quot; on success.</p>
<iframe sandbox="allow-scripts"
src="resources/sandboxed-iframe-document-cookie-read-denied.html">
</iframe>
</body>
</html>