Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Window / dom-access-from-closure-window-with-gc.html
blob66dacb0bc45ccd04382e8c89c3adc0f033ebfa5d
1 <script src="../../../resources/gc.js"></script>
2 <script>
3 if (window.testRunner) {
4 testRunner.dumpAsText();
5 testRunner.setCanOpenWindows();
6 testRunner.setCloseRemainingWindowsWhenComplete();
7 testRunner.waitUntilDone();
10 var win = window.open("resources/dom-access-from-closure-window-child.html", "child");
12 function log(s)
14 document.getElementById('console').appendChild(document.createTextNode(s + "\n"));
17 function done()
19 gc();
20 // Call the method injected by resources/dom-access-from-closure-window-child.html
21 accessFrame();
23 if (window.testRunner)
24 testRunner.notifyDone();
26 </script>
27 <pre id="console"></pre>