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

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script>
window.onload = function () {
  var childDocument = document.getElementsByTagName("iframe")[0].contentDocument;
  childDocument.designMode = "on";
  function onAttrModified(aEvent) {
    childDocument.removeEventListener("DOMAttrModified", onAttrModified);
    // Remove the editor from document during executing "insertOrderedList".
    document.body.innerHTML = "";
  }
  childDocument.addEventListener("DOMAttrModified", onAttrModified);
  childDocument.execCommand("insertOrderedList", false, "1");
}
</script>
</head>
<body><iframe></iframe></body>
</html>