blob: f86f980259f94ffa6b0e47190f45a37463e63823 [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();
testRunner.setCanOpenWindows();
}
openedWindow = window.open("http://localhost:8000/security/dataURL/resources/foreign-domain-data-url-accessor-opened-frame.html");
window.addEventListener('message', function ()
{
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>