Bug 1425091 - Part 2. Add crashtest. r?masayuki
MozReview-Commit-ID: APqtZUv1q6y
new file mode 100644
--- /dev/null
+++ b/editor/libeditor/crashtests/1425091.html
@@ -0,0 +1,15 @@
+<script>
+function go() {
+ document.scrollingElement.addEventListener("DOMNodeInserted", () => {
+ document.execCommand("selectAll", false);
+ document.execCommand("insertOrderedList", false);
+ });
+ a.appendChild(document.createElement("e"));
+}
+</script>
+<body onload=go()>
+<meter contenteditable="true">
+<dialog>
+<style id="a"></style>
+</dialog>
+</meter>
--- a/editor/libeditor/crashtests/crashtests.list
+++ b/editor/libeditor/crashtests/crashtests.list
@@ -90,8 +90,9 @@ load 1388075.html
load 1393171.html
needs-focus load 1402196.html
load 1402469.html
load 1402904.html
load 1405747.html
load 1408170.html
load 1414581.html
load 1415231.html
+load 1425091.html