Bug 1402196 - Part 2. Add crashtest. r?masayuki
MozReview-Commit-ID: IF6UsY3QR1A
new file mode 100644
--- /dev/null
+++ b/editor/libeditor/crashtests/1402196.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<head>
+<script>
+function load() {
+ document.getElementById("p").addEventListener("DOMNodeInserted", () => {
+ document.getElementById("style").appendChild(
+ document.getElementById("table"));
+ document.documentElement.classList.remove("reftest-wait");
+ });
+ document.execCommand("insertOrderedList", false);
+}
+</script>
+</head>
+<body onload="load()">
+<table id="table"></table>
+<style id="style"></style>
+<spacer id="spacer" contenteditable="true">
+<p id="p"></p>
+</body>
+</html>
--- a/editor/libeditor/crashtests/crashtests.list
+++ b/editor/libeditor/crashtests/crashtests.list
@@ -83,12 +83,13 @@ load 1366176.html
load 1375131.html
load 1381541.html
load 1383747.html
load 1383755.html
load 1383763.html
load 1384161.html
load 1388075.html
load 1393171.html
+needs-focus 1402196.html
load 1402469.html
load 1402904.html
load 1405747.html
load 1408170.html