content/test/reftest/child592366-2.xhtml

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     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 src="script592366-2.js"></script>
    13 <p>End of Page</p>
    14 </div>
    15 </body>
    16 </html>

mercurial