gecko/editor/libeditor/html/crashtests/615450-1.html
Ehsan Akhgari ef612c0f0a Bug 615450 - Prevent the reinitialization of the HTML editor while an editor operation is in progress on a document; r,a=roc
This should prevent crashes, update view count and edit action nesting count mismatches, and more!

--HG--
extra : rebase_source : af1397b3c8de19d936ca70690a6f7ed284cc5d00
2010-11-30 23:21:32 -05:00

18 lines
514 B
HTML

<!DOCTYPE html>
<html contenteditable="true">
<head>
<script>
function boom()
{
document.documentElement.appendChild(document.body);
document.documentElement.contentEditable = "false";
try { document.execCommand("outdent", false, null); } catch(e) { }
document.body.contentEditable = "true";
try { document.execCommand("inserthtml", false, "x"); } catch(e) { }
}
</script>
</head>
<body onload="boom();"><div style="margin-left: 40px;"><span contenteditable="true">p q r s</span> T</div></body></html>