summaryrefslogtreecommitdiffstats
path: root/dom/xml/crashtests/994740-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xml/crashtests/994740-1.xhtml')
-rw-r--r--dom/xml/crashtests/994740-1.xhtml15
1 files changed, 15 insertions, 0 deletions
diff --git a/dom/xml/crashtests/994740-1.xhtml b/dom/xml/crashtests/994740-1.xhtml
new file mode 100644
index 000000000..4d71cef27
--- /dev/null
+++ b/dom/xml/crashtests/994740-1.xhtml
@@ -0,0 +1,15 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<script>
+<![CDATA[
+
+function boom()
+{
+ document.createElement("head").innerHTML = "<";
+}
+
+]]>
+</script></head>
+
+<body onload="boom();"></body>
+</html>