summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/1691051.html
blob: 29aeae551c7effbdcd934b4927d30bdd94d2870d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html>
<head>
    <script>
        window.addEventListener('load', () => {
            document.documentElement.contentEditable = true
            document.execCommand('selectAll', false, null)
            document.addEventListener('DOMNodeRemoved', async (e) => {
                e.currentTarget.writeln()
            }, {})
            document.execCommand('insertLineBreak', false, null)
        })
    </script>
</head>
</html>