blob: 66dacb0bc45ccd04382e8c89c3adc0f033ebfa5d [file] [log] [blame]
<script src="../../../resources/gc.js"></script>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.setCanOpenWindows();
testRunner.setCloseRemainingWindowsWhenComplete();
testRunner.waitUntilDone();
}
var win = window.open("resources/dom-access-from-closure-window-child.html", "child");
function log(s)
{
document.getElementById('console').appendChild(document.createTextNode(s + "\n"));
}
function done()
{
gc();
// Call the method injected by resources/dom-access-from-closure-window-child.html
accessFrame();
if (window.testRunner)
testRunner.notifyDone();
}
</script>
<pre id="console"></pre>