summaryrefslogtreecommitdiffstats
path: root/dom/html/crashtests/465466-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/crashtests/465466-1.xhtml')
-rw-r--r--dom/html/crashtests/465466-1.xhtml23
1 files changed, 23 insertions, 0 deletions
diff --git a/dom/html/crashtests/465466-1.xhtml b/dom/html/crashtests/465466-1.xhtml
new file mode 100644
index 000000000..4e1258702
--- /dev/null
+++ b/dom/html/crashtests/465466-1.xhtml
@@ -0,0 +1,23 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+
+<bindings xmlns="http://www.mozilla.org/xbl"><binding id="u">
+<content><foopy><children xmlns="http://www.mozilla.org/xbl"/></foopy></content>
+</binding></bindings>
+
+
+<script type="text/javascript">
+
+function boom()
+{
+ var f = document.getElementById("f");
+ var anon = SpecialPowers.unwrap(SpecialPowers.wrap(document).getAnonymousNodes(f))[0];
+ document.body.removeChild(f);
+ anon.appendChild(document.createElement("label"));
+}
+
+</script>
+</head>
+
+<body onload="boom();"><form id="f" style="-moz-binding: url(#u);"><label></label></form></body>
+</html>