summaryrefslogtreecommitdiff
path: root/layout/xul/crashtests/398326-1.xhtml
blob: a265ae4e007e061e5b15a5937383643c46ac3864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>
var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";

function boom()
{
  var listbox = document.createElementNS(XUL_NS, 'listbox');
  document.body.appendChild(listbox);
  var listitem = document.createElementNS(XUL_NS, 'listitem');
  listbox.appendChild(listitem);
}
</script>
</head>
<body onload="boom();">
</body>
</html>