editor/composer/src/crashtests/461049-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/composer/src/crashtests/461049-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +<script type="text/javascript">
     1.8 +
     1.9 +function uu()
    1.10 +{
    1.11 +  document.removeEventListener("DOMSubtreeModified", uu, false);
    1.12 +  document.execCommand("undo", false, null);
    1.13 +}
    1.14 +
    1.15 +function boom()
    1.16 +{
    1.17 +  document.execCommand("selectAll", false, null);
    1.18 +  document.execCommand("strikethrough", false, null);
    1.19 +  document.addEventListener("DOMSubtreeModified", uu, false);
    1.20 +  document.execCommand("undo", false, null);
    1.21 +}
    1.22 +
    1.23 +</script>
    1.24 +</head>
    1.25 +
    1.26 +<body contenteditable="true" onload="boom();"><div></div></body>
    1.27 +
    1.28 +</html>

mercurial