344228-1.xul 511 B

123456789101112131415161718192021222324252627
  1. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="setTimeout(boom, 30);" class="reftest-wait">
  2. <script>
  3. function remove(q1) { q1.parentNode.removeChild(q1); }
  4. function boom()
  5. {
  6. var x = document.getElementById("x");
  7. var y = document.getElementById("y");
  8. remove(x);
  9. remove(y);
  10. document.documentElement.removeAttribute("class");
  11. }
  12. </script>
  13. <tree>
  14. <treechildren id="y"/>
  15. <richlistbox>
  16. <hbox id="x"/>
  17. <menulist/>
  18. </richlistbox>
  19. </tree>
  20. </window>