summaryrefslogtreecommitdiffstats
path: root/editor/txmgr/tests/crashtests/407072-1.html
blob: e3aa3c216acff755da4cd2a74f596b7eb64a15d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html>
<head>
<script>

function boom()
{
  var br = document.getElementById("br");
  br.contentEditable = "true";
  br.focus();

  try { document.execCommand("justifyfull", false, null);  } catch(e) { }
  try { document.execCommand("justifyfull", false, null);  } catch(e) { }
        document.execCommand("underline",   false, null);
        document.execCommand("insertimage", false, "foo");
  try { document.execCommand("outdent",     false, null);  } catch(e) { }
}

</script>
</head>

<body onload="boom();"><br id="br"></body>
</html>