summaryrefslogtreecommitdiffstats
path: root/layout/xul/crashtests/394120-1.xhtml
blob: 9df44786218b54c6bae3ca06209ca409990a8bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<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 XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
  var xultext = document.createElementNS(XUL_NS, "text");
  var hbox = document.getElementById("hbox")
  hbox.appendChild(xultext);
}
</script>
</head>
<body onload="boom();">

<xul:listboxbody><xul:hbox id="hbox" /></xul:listboxbody>

</body>
</html>