OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <script> | |
4 | |
5 if (window.testRunner) { | |
6 testRunner.dumpAsText(); | |
7 testRunner.waitUntilDone(); | |
8 } | |
9 | |
10 function runTest() | |
11 { | |
12 if (window.testRunner) | |
13 testRunner.notifyDone(); | |
14 | |
15 var frame = document.getElementById("frame"); | |
16 var childWindow = frame.contentWindow; | |
17 frame.parentNode.removeChild(frame); | |
18 childWindow.toolbar.visible; | |
19 | |
20 document.getElementById("console").firstChild.data = "TEST RAN"; | |
21 } | |
22 | |
23 </script> | |
24 </head> | |
25 <body> | |
26 | |
27 <p>This tests accessing the visible property of a BarInfo after the relevant fra
me is no longer in a web page. | |
28 If the test did not crash, it passed.<p> | |
29 | |
30 <pre id="console">TEST DID NOT RUN</pre> | |
31 | |
32 <iframe id="frame" src="about:blank" onload="runTest()"> | |
33 | |
34 </body> | |
35 </html> | |
OLD | NEW |