blob: d0200866d5b64feca9e487b38e544a4a22e06285 [file] [log] [blame]
<!DOCTYPE html><!-- webkit-test-runner [ allowCrossOriginSubresourcesToAskForCredentials=true ] -->
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
testRunner.setCanOpenWindows();
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>
</head>
<body>
<iframe src="resources/credentials-iframes-same-domain.html"></iframe>
</body>
</html>