diff options
Diffstat (limited to 'dom/xml/crashtests/420429.xul')
-rw-r--r-- | dom/xml/crashtests/420429.xul | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dom/xml/crashtests/420429.xul b/dom/xml/crashtests/420429.xul new file mode 100644 index 000000000..e71af4ef2 --- /dev/null +++ b/dom/xml/crashtests/420429.xul @@ -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> |