diff options
Diffstat (limited to 'editor/libeditor/crashtests/1645983-1.html')
-rw-r--r-- | editor/libeditor/crashtests/1645983-1.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/editor/libeditor/crashtests/1645983-1.html b/editor/libeditor/crashtests/1645983-1.html new file mode 100644 index 0000000000..d2dbd44b07 --- /dev/null +++ b/editor/libeditor/crashtests/1645983-1.html @@ -0,0 +1,8 @@ +<div contenteditable> a</div> +<script> +let editor = document.querySelector("div[contenteditable]"); +editor.insertBefore(document.createTextNode(""), editor.firstChild); +let selection = getSelection(); +selection.collapse(editor.firstChild.nextSibling, 2); +document.execCommand("delete", false); +</script>
\ No newline at end of file |