summaryrefslogtreecommitdiffstats
path: root/dom/xul/templates/crashtests/329884-1.xul
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xul/templates/crashtests/329884-1.xul')
-rw-r--r--dom/xul/templates/crashtests/329884-1.xul20
1 files changed, 20 insertions, 0 deletions
diff --git a/dom/xul/templates/crashtests/329884-1.xul b/dom/xul/templates/crashtests/329884-1.xul
new file mode 100644
index 000000000..8cc486e27
--- /dev/null
+++ b/dom/xul/templates/crashtests/329884-1.xul
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+<script>
+
+function rM(q1) { q1.parentNode.removeChild(q1); }
+
+function init2()
+{
+ rM(document.getElementById("t"));
+}
+
+window.addEventListener("load", init2, false);
+
+</script>
+
+<foo id="t" datasources="1.rdf" />
+
+</window>