summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/1624007.html
blob: 06e35e1d50d169f7c1ae5379a2193f11012fe1be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html>
<head>
    <script>
      window.addEventListener('load', () => {
        const element = document.createElement('t')
        document.documentElement.appendChild(element)
        document.documentElement.contentEditable = true
        const selection = self.getSelection()
        const range_1 = new Range()
        range_1.setStart(element, (1715865858 % element.childNodes))
        document.execCommand('enableObjectResizing', false, true)
        const range_2 = new Range()
        selection.addRange(range_2)
        selection.addRange(range_1)
        document.execCommand('bold', false, null)
      })
    </script>
</head>
</html>