summaryrefslogtreecommitdiffstats
path: root/gfx/tests/crashtests/405268-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gfx/tests/crashtests/405268-1.xhtml20
1 files changed, 20 insertions, 0 deletions
diff --git a/gfx/tests/crashtests/405268-1.xhtml b/gfx/tests/crashtests/405268-1.xhtml
new file mode 100644
index 0000000000..ecb6ecf218
--- /dev/null
+++ b/gfx/tests/crashtests/405268-1.xhtml
@@ -0,0 +1,20 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title></title>
+<script type="text/javascript">
+//<![CDATA[
+function boom()
+{
+ var div = document.createElementNS('http://www.w3.org/1999/xhtml', 'div');
+ document.body.appendChild(div);
+ div.style.fontSize = '68719476736px';
+ div.appendChild(document.createTextNode(String.fromCharCode(0)));
+}
+//]]>
+</script>
+</head>
+
+<body onload="boom()">
+
+</body>
+</html>