summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/766360.html
blob: 76c30456d69af33a487f84ff43176826fa42ee55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
<head>
<script>

function boom()
{
  var r = document.createRange();
  r.setEnd(document.createTextNode("x"), 0);
  window.getSelection().addRange(r);
  document.execCommand("inserthtml", false, "y");
}

</script>
</head>

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