editor/libeditor/base/crashtests/713427-2.xhtml

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:3f9287393bad
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head>
3 <script>
4 <![CDATA[
5
6 function boom()
7 {
8 while (document.documentElement.firstChild) {
9 document.documentElement.removeChild(document.documentElement.firstChild);
10 }
11
12 var td = document.createElementNS("http://www.w3.org/1999/xhtml", "td");
13 td.setAttributeNS(null, "contenteditable", "true");
14 (document.documentElement).appendChild(td);
15 var head = document.createElementNS("http://www.w3.org/1999/xhtml", "head");
16 (document.documentElement).appendChild(head);
17
18 head.appendChild(td);
19 }
20
21 window.addEventListener("load", boom, false);
22
23 ]]>
24 </script>
25 </head>
26
27 <body></body>
28 </html>

mercurial