summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/513375-1.xhtml
blob: 25e5e1c34c78d2f394c24420d7140e2738cb5206 (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 boom()
{
  var r = document.createRange();
  r.selectNode(document.body);
  r.deleteContents();
  try { document.execCommand("selectAll", false, null); } catch(e) { }
}

]]>
</script>
</head>

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