434458-1.xul 595 B

123456789101112131415161718192021
  1. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="setTimeout(boom, 30);" class="reftest-wait">
  2. <script>
  3. function boom() {
  4. var a = document.getElementById('a');
  5. var x = a.popupBoxObject;
  6. a.parentNode.removeChild(a);
  7. x.enableKeyboardNavigator(true);
  8. x.openPopup(null, "after_start", 0, 0, false, false, null);
  9. x.openPopupAtScreen(2, 2, false, null);
  10. x.showPopup(document.documentElement, a, -1, -1, "popup", "topleft", "topleft");
  11. x.hidePopup();
  12. document.documentElement.removeAttribute("class");
  13. }
  14. </script>
  15. <menupopup id="a"/>
  16. </window>