Bug 1324505 - Part 2. Add crash test. r=masayuki
☠☠ backed out by 948912e1d62d ☠ ☠
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Wed, 11 Jan 2017 19:04:32 +0900
changeset 461333 ea8744408e8904596bce5aeb207cec80c91de730
parent 461332 f1f0f69bc78f1f55d34caa1ac22527616bad06de
child 461334 7be23bb65b937c7b2729c195bb2c2c5cf040b5b4
push id41655
push userbmo:npang@mozilla.com
push dateMon, 16 Jan 2017 14:31:16 +0000
reviewersmasayuki
bugs1324505
milestone53.0a1
Bug 1324505 - Part 2. Add crash test. r=masayuki MozReview-Commit-ID: 7NJr1fGKBZA
editor/libeditor/crashtests/1324505.html
editor/libeditor/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/editor/libeditor/crashtests/1324505.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<script>
+addEventListener("DOMContentLoaded", function(){
+  let root = document.documentElement;
+  while(root.firstChild) {
+    root.removeChild(root.firstChild);
+  }
+  let o_0 = document.createElement("body");
+  root.appendChild(o_0);
+  o_0.appendChild(document.createElement("table"));
+  o_0.appendChild(document.createElement("canvas"));
+  let o_1 = document.createElement("canvas");
+  o_0.appendChild(o_1);
+  o_1.setAttribute("contenteditable", "true");
+  setTimeout(function(){
+    document.execCommand("selectAll", false, "Marker felt");
+    document.designMode = 'on';
+    document.execCommand("insertorderedlist", false, null);
+    document.execCommand("insertorderedlist", false, null);
+  }, 0);
+});
+</script>
+</html>
--- a/editor/libeditor/crashtests/crashtests.list
+++ b/editor/libeditor/crashtests/crashtests.list
@@ -66,8 +66,9 @@ needs-focus load 1128787.html
 load 1134545.html
 load 1158452.html
 load 1158651.html
 load 1244894.xhtml
 load 1264921.html
 load 1272490.html
 load 1317704.html
 load 1317718.html
+load 1324505.html