summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/612018-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/612018-1.html')
-rw-r--r--dom/base/crashtests/612018-1.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/dom/base/crashtests/612018-1.html b/dom/base/crashtests/612018-1.html
new file mode 100644
index 000000000..7f81422a7
--- /dev/null
+++ b/dom/base/crashtests/612018-1.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<head>
+<script>
+
+function boom()
+{
+ var input = document.createElement("input");
+ document.body.appendChild(input);
+ input.focus();
+ document.body.appendChild(input);
+ input.focus();
+
+ document.documentElement.removeAttribute("class");
+}
+
+</script>
+</head>
+
+<body onload="setTimeout(boom, 0);"></body>
+</html>