summaryrefslogtreecommitdiffstats
path: root/gfx/tests/crashtests/395335-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gfx/tests/crashtests/395335-1.xhtml20
1 files changed, 20 insertions, 0 deletions
diff --git a/gfx/tests/crashtests/395335-1.xhtml b/gfx/tests/crashtests/395335-1.xhtml
new file mode 100644
index 0000000000..d9b73edc16
--- /dev/null
+++ b/gfx/tests/crashtests/395335-1.xhtml
@@ -0,0 +1,20 @@
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+<head>
+<script>
+
+function boom()
+{
+ document.getElementById("tree").firstChild.data = "xyz";
+}
+
+</script>
+</head>
+
+<body onload="boom();">
+
+<xul:tree id="tree">a</xul:tree>
+
+</body>
+</html>