|
1 <html xmlns="http://www.w3.org/1999/xhtml" |
|
2 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
|
3 <head> |
|
4 <!-- |
|
5 https://bugzilla.mozilla.org/show_bug.cgi?id=394800 |
|
6 --> |
|
7 <title>Test Mozilla bug 394800</title> |
|
8 <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> |
|
9 |
|
10 <script class="testbody" type="application/javascript"> |
|
11 |
|
12 function do_test() |
|
13 { |
|
14 var x = document.getElementById("x"); |
|
15 x.parentNode.removeChild(x); |
|
16 is(0, 0, "this is a crash/assertion test, so we're ok if we survived this far"); |
|
17 SimpleTest.finish(); |
|
18 } |
|
19 |
|
20 SimpleTest.waitForExplicitFinish(); |
|
21 </script> |
|
22 </head> |
|
23 |
|
24 <body> |
|
25 |
|
26 <xul:menulist><xul:tooltip/><div><span><xul:hbox id="x"/></span></div></xul:menulist> |
|
27 |
|
28 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=394800">Mozilla Bug 394800</a> |
|
29 <p id="display"></p> |
|
30 |
|
31 <pre id="test"> |
|
32 </pre> |
|
33 |
|
34 <script> |
|
35 addLoadEvent(do_test); |
|
36 </script> |
|
37 |
|
38 </body> |
|
39 </html> |