summaryrefslogtreecommitdiffstats
path: root/layout/xul/crashtests/394120-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/xul/crashtests/394120-1.xhtml')
-rw-r--r--layout/xul/crashtests/394120-1.xhtml19
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/xul/crashtests/394120-1.xhtml b/layout/xul/crashtests/394120-1.xhtml
new file mode 100644
index 000000000..9df447862
--- /dev/null
+++ b/layout/xul/crashtests/394120-1.xhtml
@@ -0,0 +1,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>