mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Add crashtest for bug 461049
This commit is contained in:
parent
f5c860500e
commit
843986f2c8
25
editor/composer/src/crashtests/461049-1.html
Normal file
25
editor/composer/src/crashtests/461049-1.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user