blob: 4f8c8bf87eb05499f85f8e50a39db66c5586ed44 [file] [log] [blame]
<html>
<head>
<script src="../resources/cross-frame-access.js"></script>
<script>
var openedWindow;
window.onload = function()
{
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
openedWindow = window.open("http://localhost:8000/security/dataURL/resources/foreign-domain-data-url-accessor-opened-frame.html");
if (window.testRunner)
setTimeout(pollUntilDone, 1);
}
pollUntilDone = function()
{
if (!testRunner.globalFlag) {
setTimeout(pollUntilDone, 1);
return;
}
closeWindowAndNotifyDone(openedWindow);
}
</script>
</head>
<body>
<p>Opener Frame</p>
<p id='accessMe'>Pass: Cross frame access from a data: URL on a different domain was denied.</p>
</body>
</html>