summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/513375-1.xhtml
blob: 4db5a42159fcd407b0bddc2865b705566f07f0b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html xmlns="http://www.w3.org/1999/xhtml">
<head contenteditable="true">
<script type="text/javascript">
<![CDATA[
function onLoad() {
  getSelection().collapse(document.body, document.body.childNodes.length);
  const r = document.createRange();
  r.selectNode(document.body);
  r.deleteContents();
  try {
    document.execCommand("selectAll");
  } catch(e) {}
}
]]>
</script>
</head>

<body onload="onLoad();" contenteditable="true"></body>
</html>