js/xpconnect/crashtests/515726-1.html

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:1c5dd7149a38
1 <html>
2 <head>
3 <script>
4
5 function boom()
6 {
7 var frame = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
8
9 document.documentElement.appendChild(frame);
10 var framedoc = frame.contentDocument;
11 document.documentElement.removeChild(frame);
12
13 framedoc.removeChild(framedoc.documentElement);
14 framedoc.appendChild(frame);
15
16 try { frame.appendChild(undefined); } catch(e) { }
17
18 document.removeChild(document.documentElement);
19 document.appendChild(frame);
20 }
21
22 </script>
23 </head>
24
25 <body onload="boom();"></body>
26 </html>

mercurial