blob: 1a8f535129c75cc0fe2bfeff86f32eb503585dc4 [file] [log] [blame]
<html>
<head>
<script>
var frames = 2;
function decrement(event) {
--frames;
if (!frames && window.testRunner) {
internals.settings.setStorageBlockingPolicy('AllowAll');
testRunner.notifyDone();
}
}
window.onmessage = decrement;
</script>
</head>
<body>
<p>This iframe should return a security error:</p>
<iframe src="http://localhost:8000/security/resources/cross-origin-iframe-for-worker-websql.html"></iframe>
<p>This iframe should not return any errors:</p>
<iframe src="http://127.0.0.1:8000/security/resources/cross-origin-iframe-for-worker-websql.html"></iframe>
</body>