summaryrefslogtreecommitdiff
path: root/layout/base/crashtests/383806-1.xhtml
blob: 91d72b1ffe828bb0670246fb6647df6781de8dc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<head>
<script>

function boom()
{
  var listbox = document.getElementById("listbox");
  var td = document.getElementById("td");

  var listitem = document.createElementNS(XUL_NS, "listitem");

  listbox.appendChild(listitem);
  listbox.appendChild(td);
}

var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";

</script>
</head>

<body onload="boom();">

<table><tbody><tr><td id="td">X</td></tr></tbody></table>

<xul:listbox id="listbox"/>

</body>
</html>