layout/xul/crashtests/434458-1.xul
author Robert O'Callahan <robert@ocallahan.org>
Wed, 04 Dec 2013 14:06:16 +1300
changeset 158720 b5d2afd3716472ffd2c88a0055cf665391f5edb2
parent 49217 layout/xul/base/src/crashtests/434458-1.xul@ed8906789d08e460b23fa4e9aa10fad343fc1934
permissions -rw-r--r--
Bug 945091. Part 3: Flatten layout/xul/base/* into layout/xul. r=glandium

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="setTimeout(boom, 30);" class="reftest-wait">

<script>
function boom() {
  var a = document.getElementById('a');
  var x = a.popupBoxObject;
  a.parentNode.removeChild(a);
  x.enableKeyboardNavigator(true);
  x.openPopup(null, "after_start", 0, 0, false, false, null);
  x.openPopupAtScreen(2, 2, false, null);
  x.showPopup(document.documentElement, a, -1, -1, "popup", "topleft", "topleft");
  x.hidePopup();
  document.documentElement.removeAttribute("class");
}

</script>

<menupopup id="a"/>

</window>