summaryrefslogtreecommitdiffstats
path: root/dom/xbl/crashtests/404125-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xbl/crashtests/404125-1.xhtml')
-rw-r--r--dom/xbl/crashtests/404125-1.xhtml29
1 files changed, 29 insertions, 0 deletions
diff --git a/dom/xbl/crashtests/404125-1.xhtml b/dom/xbl/crashtests/404125-1.xhtml
new file mode 100644
index 000000000..46b0fd6f8
--- /dev/null
+++ b/dom/xbl/crashtests/404125-1.xhtml
@@ -0,0 +1,29 @@
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+<head>
+
+<bindings xmlns="http://www.mozilla.org/xbl">
+ <binding id="lc">
+ <content>
+ <xul:listcell> t <children/></xul:listcell>
+ </content>
+ </binding>
+</bindings>
+
+<script>
+function boom()
+{
+ var hbox = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "hbox");
+ document.getElementById("vv").appendChild(hbox);
+}
+</script>
+
+</head>
+
+<body onload="boom();">
+
+<div style="-moz-binding: url(#lc);" id="vv"></div>
+
+</body>
+
+</html>