editor/libeditor/crashtests/1272490.html
author Steve Fink <sfink@mozilla.com>
Sun, 25 Sep 2022 18:14:15 +0000
changeset 636414 43c2ed80ba049f83b4da8549c6a5779275876a6d
parent 329664 7b434711753b98a87603453caaa0945791ffe12b
permissions -rw-r--r--
Bug 1790149 - Fix spelling of perfherder-data.json output file for awsy r=perftest-reviewers,sparky Differential Revision: https://phabricator.services.mozilla.com/D157002

<!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>