Add crashtest for bug 461049

This commit is contained in:
Jesse Ruderman 2009-08-08 16:00:35 -07:00
parent f5c860500e
commit 843986f2c8
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,25 @@
<!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>

View File

@ -1,4 +1,5 @@
load 351236-1.html
load 407062-1.html
skip-if(MOZ_WIDGET_TOOLKIT=="windows") load 428844-1.html # bug 471185
load 461049-1.html
load removing-editable-xslt.html