summaryrefslogtreecommitdiffstats
path: root/dom/events/crashtests/1072137-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/events/crashtests/1072137-1.html')
-rw-r--r--dom/events/crashtests/1072137-1.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/dom/events/crashtests/1072137-1.html b/dom/events/crashtests/1072137-1.html
new file mode 100644
index 000000000..ae26188ab
--- /dev/null
+++ b/dom/events/crashtests/1072137-1.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<script>
+
+function boom()
+{
+ var textareaRoot = document.createElement("textarea");
+ document.removeChild(document.documentElement);
+ document.appendChild(textareaRoot);
+ var input = document.createElement("input");
+ textareaRoot.appendChild(input);
+ input.select();
+}
+
+</script>
+</head>
+<body onload="boom();"></body>
+</html>