<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 "allow-origin" set). This test will print
"PASS" on success.</p>
<iframe sandbox="allow-scripts"
src="resources/sandboxed-iframe-document-cookie-read-denied.html">
</iframe>
</body>
</html>