2 if (window
.testRunner
) {
3 testRunner
.dumpAsText();
4 testRunner
.setCanOpenWindows();
5 testRunner
.setCloseRemainingWindowsWhenComplete();
6 testRunner
.waitUntilDone();
9 var win
= window
.open("resources/dom-access-from-closure-window-child.html", "child");
13 document
.getElementById('console').appendChild(document
.createTextNode(s
+ "\n"));
18 // Call the method injected by resources/dom-access-from-closure-window-child.html
21 if (window
.testRunner
)
22 testRunner
.notifyDone();
25 <pre id=
"console"></pre>