summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/1605741.html
diff options
context:
space:
mode:
Diffstat (limited to 'editor/libeditor/crashtests/1605741.html')
-rw-r--r--editor/libeditor/crashtests/1605741.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/editor/libeditor/crashtests/1605741.html b/editor/libeditor/crashtests/1605741.html
new file mode 100644
index 0000000000..d532780692
--- /dev/null
+++ b/editor/libeditor/crashtests/1605741.html
@@ -0,0 +1,9 @@
+<script>
+window.onload = () => {
+ a.addEventListener("DOMNodeRemoved", () => {
+ document.getSelection().collapse(document.getElementById(""))
+ })
+ document.execCommand("delete", false)
+}
+</script>
+<div id="a" contenteditable>x</link> \ No newline at end of file