1 <pre id=
"console"></pre>
3 if (window
.testRunner
) {
4 testRunner
.dumpAsText();
5 testRunner
.setCanOpenWindows();
6 testRunner
.setCloseRemainingWindowsWhenComplete();
7 testRunner
.waitUntilDone();
13 logString
+= s
+ "<br />";
18 log("<b>" + s
+ "<b>");
22 var win
= window
.open("resources/closure-access-after-navigation-window-child-1.html");
26 document
.getElementById("console").innerHTML
= logString
;
27 if (window
.testRunner
)
28 testRunner
.notifyDone();
31 Object
.prototype.myVal
= "parent";
36 getObjectOfParent = function()
41 getGlobalOfParent = function()
46 test = function(p
, val
)
49 log(p
+ "()." + val
+ " = " + window
[p
]()[val
]);