26 lines
679 B
HTML
26 lines
679 B
HTML
<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()
|
|
{
|
|
// Call the method injected by resources/dom-access-from-closure-window-child.html
|
|
accessFrame();
|
|
|
|
if (window.testRunner)
|
|
testRunner.notifyDone();
|
|
}
|
|
</script>
|
|
<pre id="console"></pre>
|