Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head>
3 <title>Move node during parse</title>
4 </head>
5 <body>
6 <div>
7 <p>This text should not show inside the iframe. It should show inside the parent. Furthermore, there should be text saying "Middle of Page" and then "End of Page" below (also in the parent).</p>
8 <script>
9 parent.document.documentElement.lastChild.appendChild(document.getElementsByTagName("div")[0]);
10 </script>
11 <p>Middle of Page</p>
12 <script>
13 document.body.insertBefore(document.createTextNode("FAIL"), document.body.firstChild);
14 </script>
15 <p>End of Page</p>
16 </div>
17 </body>
18 </html>