summaryrefslogtreecommitdiffstats
path: root/dom/html/crashtests/504183-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/crashtests/504183-1.html')
-rw-r--r--dom/html/crashtests/504183-1.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/dom/html/crashtests/504183-1.html b/dom/html/crashtests/504183-1.html
new file mode 100644
index 0000000000..e44db41520
--- /dev/null
+++ b/dom/html/crashtests/504183-1.html
@@ -0,0 +1,12 @@
+<html class="reftest-wait">
+<input id="a" type="file">
+<script>
+function doe() {
+var elem = document.getElementById('a');
+elem.style.display = "none";
+elem.focus();
+document.documentElement.className = "";
+}
+setTimeout(doe, 0);
+</script>
+</html>