<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.waitUntilDone(); | |
internals.settings.setStorageBlockingPolicy('BlockThirdParty'); | |
} | |
window.addEventListener("message", function (event) { | |
alert("parent host: " + window.location.hostname + event.data); | |
window.open("http://localhost:8000/security/resources/credentials-iframes-continued.html"); | |
}, false); | |
</script> | |
<iframe src="resources/credentials-iframes-same-domain.html"></iframe> |