editor/composer/src/crashtests/461049-1.html
author Joel Maher <jmaher@mozilla.com>
Tue, 12 Feb 2013 07:28:35 -0500
changeset 121589 d2175a963653c49d8331531c9586a84215f6c7f0
parent 31261 297949c05cb712512779f357dc95ee6a27d93e1c
child 190665 645ad2c2411421798c8e815bcd74aa8092aa066f
permissions -rw-r--r--
Bug 805841 - test_pm.xul fails on EC2 VM because it can't measure CPU data. r=zwol

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">

function uu()
{
  document.removeEventListener("DOMSubtreeModified", uu, false);
  document.execCommand("undo", false, null);
}

function boom()
{
  document.execCommand("selectAll", false, null);
  document.execCommand("strikethrough", false, null);
  document.addEventListener("DOMSubtreeModified", uu, false);
  document.execCommand("undo", false, null);
}

</script>
</head>

<body contenteditable="true" onload="boom();"><div></div></body>

</html>