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

function boom()
{
  var b = document.body;
  b.contentEditable = "true";
  document.execCommand("contentReadOnly", false, null);
  b.focus();
  b.contentEditable = "false";
  document.documentElement.contentEditable = "true";
  document.createDocumentFragment().appendChild(b);
  document.documentElement.focus();
}

</script>
</head>
<body onload="boom();"></body>
</html>