Bug 1128787 part.1 Add test r=ehsan
authorMasayuki Nakano <masayuki@d-toybox.com>
Tue, 21 Apr 2015 15:27:09 +0900
changeset 240135 4d9ccefea01efe5315ac974aefa5c82758133cce
parent 240134 7ca97f0cb52666edd7c161f133cdd794a39e124f
child 240136 5ef32cc1593a39a14b305c52e19d2c92f1c9d289
push id28623
push usercbook@mozilla.com
push dateTue, 21 Apr 2015 13:17:41 +0000
treeherdermozilla-central@b8d59286a581 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs1128787
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1128787 part.1 Add test r=ehsan
editor/libeditor/crashtests/1128787.html
editor/libeditor/crashtests/crashtests.list
new file mode 100644
--- /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>
--- a/editor/libeditor/crashtests/crashtests.list
+++ b/editor/libeditor/crashtests/crashtests.list
@@ -54,9 +54,10 @@ load 767169.html
 load 769967.xhtml
 load 768748.html
 load 768765.html
 needs-focus load 771749.html
 load 772282.html
 load 776323.html
 needs-focus load 793866.html
 load 1057677.html
+needs-focus load 1128787.html
 load 1134545.html