editor/libeditor/crashtests/761861.html
author Marian-Vasile Laza <mlaza@mozilla.com>
Sun, 28 Nov 2021 21:52:09 +0200
changeset 600343 34a7b5b9dbecc9b71e722625001889ded6d43dda
parent 346526 1a2b467e5660da4ed8dc7a5ef3077b357aba087f
permissions -rw-r--r--
Backed out changeset 696485034af5 (bug 1742916) for causing reftest test failures on woff2-totalsfntsize.html. CLOSED TREE

<!doctype html>
<script>
function boom() {
  var r = document.documentElement;
  while (r.firstChild) {
    r.firstChild.remove();
  }

  document.documentElement.contentEditable = "true";
  document.documentElement.appendChild(document.createElement("span"));
  document.documentElement.firstChild.appendChild(document.createTextNode("_"));
  document.execCommand("forwarddelete");
}
</script>
<body onload="boom()">