blob: 83482d4d1691d3e7d05618f958ebd08240d45909 [file] [log] [blame]
<script>
parent.logTitle("Child 1 loaded.");
Object.prototype.myVal = "child1";
var myGlobal = {
myGlobalVal: "child1"
};
parent.logTitle("Child 1 objects set.");
parent.getObjectOfChild1 = function()
{
return {};
};
parent.getGlobalOfChild1 = function()
{
return myGlobal;
};
parent.test("getObjectOfChild1", "myVal");
parent.test("getGlobalOfChild1", "myGlobalVal");
window.location = "closure-access-after-navigation-iframe-child-2.html"
</script>
Child 1