blob: 144f8208f0b5baefe2aab54039379dd3891da12b [file] [log] [blame]
<html>
<head>
<script src="cross-frame-access.js"></script>
<script>
function loaded()
{
window.addEventListener('message', performTest);
}
function performTest()
{
try {
window.parent.frames[0].document.getElementById('accessMe').innerHTML = "PASS: Host name compare is case insensitive.";
} catch (e) {
log("FAIL: An error occurred during testing.")
}
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</head>
<body onload="loaded();">
<p>Other inner iframe.</p>
<pre id='console'></pre>
</body>
</html>