diff options
Diffstat (limited to 'editor/libeditor/crashtests/1578916.html')
-rw-r--r-- | editor/libeditor/crashtests/1578916.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/editor/libeditor/crashtests/1578916.html b/editor/libeditor/crashtests/1578916.html new file mode 100644 index 0000000000..08883f0c95 --- /dev/null +++ b/editor/libeditor/crashtests/1578916.html @@ -0,0 +1,15 @@ +<script>
+function go() {
+ b.appendChild(document.body.firstChild)
+ document.getSelection().setBaseAndExtent(c.appendChild(b),0,b,1)
+ a.addEventListener("DOMCharacterDataModified", function() {
+ window.getSelection().removeAllRanges()
+ })
+ document.execCommand("delete", false)
+}
+</script>
+<body onload=go()>
+<audio id="a">
+<li contenteditable="true">
+<data id="c">
+<source id="b">
|