summaryrefslogtreecommitdiff
path: root/layout/base/crashtests/540760.xul
blob: b0e857ec9fc6b344c2234c06fd78594eac46ec29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<script>

function boom()
{
  var a = document.getElementById("a");
  while (a.firstChild)
    a.removeChild(a.firstChild);
}

window.addEventListener("load", boom, false);

</script>

<menulist id="a" sizetopopup="pref"><menupopup/><menupopup/></menulist>

</window>