diff options
Diffstat (limited to '')
-rw-r--r-- | editor/libeditor/crashtests/1474978.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/editor/libeditor/crashtests/1474978.html b/editor/libeditor/crashtests/1474978.html new file mode 100644 index 0000000000..c7009f5970 --- /dev/null +++ b/editor/libeditor/crashtests/1474978.html @@ -0,0 +1,14 @@ +<script> +function go() { + document.getSelection().setPosition(b); + a.addEventListener("DOMNodeInserted", eh); + document.execCommand("insertImage", false, "#"); +} +function eh() { + document.execCommand("selectAll", false); + document.execCommand("insertText", false, ""); +} +</script> +<body onload=go()> +<dd id="a" contenteditable="true"> +<template id="b"></template> |