Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Window / dom-access-from-closure-window.html
blobd420dedba1133d9c7b939ceee267dc94ad1befbf
1 <script>
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");
11 function log(s)
13 document.getElementById('console').appendChild(document.createTextNode(s + "\n"));
16 function done()
18 // Call the method injected by resources/dom-access-from-closure-window-child.html
19 accessFrame();
21 if (window.testRunner)
22 testRunner.notifyDone();
24 </script>
25 <pre id="console"></pre>