blob: d6dc996099684e02a7a520d0212e2b4f278fe89a [file] [log] [blame]
<html>
<head>
<script>
var frames = 2;
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFrames();
testRunner.waitUntilDone();
}
function decrement() {
--frames;
if (!frames && window.testRunner)
testRunner.notifyDone();
}
window.onmessage = decrement;
</script>
</head>
<body>
<p>This iframe should not return any errors:</p>
<iframe src="http://localhost:8000/security/resources/cross-origin-iframe-for-shared-worker.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-shared-worker.html"></iframe>
</body>
</html>