<script src="cross-frame-access.js"></script>
<body>
<div id=console></div>
<script>
var parentWindow = window.parent;
parentWindow.testFunction = function()
{
    shouldBeFalse("canGet('parentWindow.location.href')");
    if (window.testRunner)
        testRunner.notifyDone();
}
var func = parentWindow.testFunction;
document.domain = document.domain; // after this window.parent properties are inaccessible
func();
</script>


