summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/1426709.html
diff options
context:
space:
mode:
Diffstat (limited to 'editor/libeditor/crashtests/1426709.html')
-rw-r--r--editor/libeditor/crashtests/1426709.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/editor/libeditor/crashtests/1426709.html b/editor/libeditor/crashtests/1426709.html
new file mode 100644
index 0000000000..c6f1d712ac
--- /dev/null
+++ b/editor/libeditor/crashtests/1426709.html
@@ -0,0 +1,17 @@
+<script>
+function go() {
+ a.setAttribute("contenteditable", "true");
+ b.addEventListener("DOMNodeRemoved", eh);
+ b.appendChild(c);
+}
+function eh() {
+ document.body.appendChild(b);
+ document.execCommand("justifyFull", false);
+ document.execCommand("delete", false);
+}
+</script>
+<body onload=go()>
+<li id="a">
+A
+<pre id="b" contenteditable="true">
+<input autofocus="autofocus" id="c">