summaryrefslogtreecommitdiffstats
path: root/dom/xbl/crashtests/464863-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xbl/crashtests/464863-1.xhtml')
-rw-r--r--dom/xbl/crashtests/464863-1.xhtml22
1 files changed, 22 insertions, 0 deletions
diff --git a/dom/xbl/crashtests/464863-1.xhtml b/dom/xbl/crashtests/464863-1.xhtml
new file mode 100644
index 000000000..a665afc9c
--- /dev/null
+++ b/dom/xbl/crashtests/464863-1.xhtml
@@ -0,0 +1,22 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+
+<bindings xmlns="http://www.mozilla.org/xbl"><binding id="foo"><content><qqq><children xmlns="http://www.mozilla.org/xbl"/></qqq></content></binding></bindings>
+
+<script type="text/javascript">
+// <![CDATA[
+
+function boom()
+{
+ var s = document.getElementById("s");
+ var o = document.getAnonymousNodes(s)[0];
+ (document.body).appendChild(s);
+ o.appendChild(document.createTextNode("F"));
+}
+
+// ]]>
+</script>
+</head>
+
+<body onload="boom();"><span id="s" style="-moz-binding: url(#foo)"></span></body>
+</html>