summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/1618906.html
blob: cdb278f018a703c8a96295f63bbb15278907ae56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html>
<head>
    <script>
      window.addEventListener('load', () => {
        const range = new Range()
        const fragment = range.cloneContents()
        range.selectNodeContents(document)
        document.designMode = 'on'
        document.replaceChild(fragment, document.documentElement)
        const selection = window.getSelection()
        selection.addRange(range)
        document.execCommand('indent', false, null)
      })
    </script>
</head>
</html>
<!-- COMMENT -->