content/base/crashtests/343730-1.xhtml

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:80fe66fab7f3
1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
2 <head>
3
4 <script>
5 <![CDATA[
6
7 var div;
8
9 function boo()
10 {
11 var newSpan = document.createElement('span');
12 div = document.getElementById('div');
13
14 var newScript = document.createElement('script');
15 var nt = document.createTextNode("document.body.removeChild(div);");
16 newScript.appendChild(nt);
17 newSpan.appendChild(newScript);
18
19 div.appendChild(newSpan);
20
21 document.documentElement.removeAttribute("class");
22 }
23
24 ]]>
25 </script>
26
27 </head>
28
29 <body onload="setTimeout(boo, 30);">
30
31 <div id="div"></div>
32
33 </body>
34
35 </html>

mercurial