summaryrefslogtreecommitdiffstats
path: root/dom/xml/crashtests/420429.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xml/crashtests/420429.xhtml')
-rw-r--r--dom/xml/crashtests/420429.xhtml18
1 files changed, 18 insertions, 0 deletions
diff --git a/dom/xml/crashtests/420429.xhtml b/dom/xml/crashtests/420429.xhtml
new file mode 100644
index 0000000000..e71af4ef21
--- /dev/null
+++ b/dom/xml/crashtests/420429.xhtml
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ onload="boom();">
+
+<?xml-stylesheet?>
+
+<script type="text/javascript">
+
+function boom()
+{
+ window.addEventListener("DOMCharacterDataModified", function(){}, false);
+ document.documentElement.cloneNode(true).getElementsByTagName("*").length;
+}
+
+</script>
+
+</window>