summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/603490-1.html
blob: a9a8a8c2a3dd03f8f17d27bc8542abebca5765b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html><html><script>

function boom()
{
  while (document.documentElement.firstChild)
    document.documentElement.firstChild.remove();
  document.documentElement.contentEditable = "true";
  document.execCommand("strikethrough", false, null);
  try { document.execCommand("justifyfull", false, null); } catch(e) { }
  document.documentElement.offsetHeight;
  try { document.execCommand("delete", false, null); } catch(e) { }
  document.execCommand("inserthtml", false, "<span> <\/span>");
}
window.addEventListener("load", boom);

</script></html>