summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/386807-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/crashtests/386807-1.html')
-rw-r--r--layout/generic/crashtests/386807-1.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/generic/crashtests/386807-1.html b/layout/generic/crashtests/386807-1.html
new file mode 100644
index 000000000..af8169d8a
--- /dev/null
+++ b/layout/generic/crashtests/386807-1.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function boom()
+{
+ s = document.getElementById("s");
+ document.body.insertBefore(document.createTextNode("\n"), s);
+}
+
+</script>
+</head>
+
+<body onload="boom()">
+<span id="s" style="text-transform: uppercase;">
+</span>
+</body>
+</html>