summaryrefslogtreecommitdiff
path: root/layout/xul/crashtests/398326-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/xul/crashtests/398326-1.xhtml')
-rw-r--r--layout/xul/crashtests/398326-1.xhtml17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/xul/crashtests/398326-1.xhtml b/layout/xul/crashtests/398326-1.xhtml
new file mode 100644
index 0000000000..a265ae4e00
--- /dev/null
+++ b/layout/xul/crashtests/398326-1.xhtml
@@ -0,0 +1,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>