summaryrefslogtreecommitdiff
path: root/editor/libeditor/crashtests/768748.html
blob: 09206dce3fead153638e8b9e6b31cc4de9ef8cf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html contenteditable="true">
<head>
<script>

function boom()
{
  var looseText = document.createTextNode("x");
  window.getSelection().collapse(looseText, 0);
  document.queryCommandState("insertorderedlist");
}

</script>
</head>
<body onload="setTimeout(boom, 0)"></body>
</html>