1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/xul/crashtests/434458-1.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="setTimeout(boom, 30);" class="reftest-wait"> 1.5 + 1.6 +<script> 1.7 +function boom() { 1.8 + var a = document.getElementById('a'); 1.9 + var x = a.popupBoxObject; 1.10 + a.parentNode.removeChild(a); 1.11 + x.enableKeyboardNavigator(true); 1.12 + x.openPopup(null, "after_start", 0, 0, false, false, null); 1.13 + x.openPopupAtScreen(2, 2, false, null); 1.14 + x.showPopup(document.documentElement, a, -1, -1, "popup", "topleft", "topleft"); 1.15 + x.hidePopup(); 1.16 + document.documentElement.removeAttribute("class"); 1.17 +} 1.18 + 1.19 +</script> 1.20 + 1.21 +<menupopup id="a"/> 1.22 + 1.23 +</window>