blob: 8407cf4c81807ded1b324bcc8a40fc84ecde512c [file] [log] [blame]
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFrames();
}
</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>