summaryrefslogtreecommitdiff
path: root/editor/libeditor/crashtests/1128787.html
diff options
context:
space:
mode:
Diffstat (limited to 'editor/libeditor/crashtests/1128787.html')
-rw-r--r--editor/libeditor/crashtests/1128787.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/editor/libeditor/crashtests/1128787.html b/editor/libeditor/crashtests/1128787.html
new file mode 100644
index 0000000000..fc6bff0972
--- /dev/null
+++ b/editor/libeditor/crashtests/1128787.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>Bug 1128787</title>
+</head>
+<body>
+ <input type="button"/>
+ <script>
+ window.onload = function () {
+ document.designMode = "on";
+ }
+ var input = document.getElementsByTagName("input")[0];
+ input.focus();
+ input.type = "text";
+ </script>
+</body>
+</html>