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

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:7805e22abfd8
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script type="text/javascript">
5
6 function uu()
7 {
8 document.removeEventListener("DOMSubtreeModified", uu, false);
9 document.execCommand("undo", false, null);
10 }
11
12 function boom()
13 {
14 document.execCommand("selectAll", false, null);
15 document.execCommand("strikethrough", false, null);
16 document.addEventListener("DOMSubtreeModified", uu, false);
17 document.execCommand("undo", false, null);
18 }
19
20 </script>
21 </head>
22
23 <body contenteditable="true" onload="boom();"><div></div></body>
24
25 </html>

mercurial