5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.waitUntilDone();
12 if (window.testRunner)
13 testRunner.notifyDone();
15 var frame = document.getElementById("frame");
16 var childWindow = frame.contentWindow;
17 frame.parentNode.removeChild(frame);
18 childWindow.toolbar.visible;
20 document.getElementById("console").firstChild.data = "TEST RAN";
27 <p>This tests accessing the visible property of a BarInfo after the relevant frame is no longer in a web page.
28 If the test did not crash, it passed.<p>
30 <pre id="console">TEST DID NOT RUN</pre>
32 <iframe id="frame" src="about:blank" onload="runTest()">