editor/libeditor/html/crashtests/766305.html

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:694926d8c6b8
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5
6 function boom()
7 {
8 var s = "x";
9 for (var i = 0; i < 15; ++i)
10 s = s + s;
11 var t = document.createTextNode(s);
12 document.body.appendChild(t);
13 window.getSelection().collapse(t, s.length);
14 document.execCommand("insertText", false, "a");
15 }
16
17 </script>
18 </head>
19
20 <body contenteditable="true" onload="boom();"></body>
21 </html>

mercurial