dom/tests/mochitest/bugs/child_bug260264.html

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>
     2   <head>
     3     <script type="application/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
     4     <script type="application/javascript" src="utils_bug260264.js"></script>
     5   </head>
     6   <body>
     7     <iframe id="frame"></iframe>
     8     <script type="application/javascript">
     9       document.getElementById("frame").src =
    10         alter_file(alter_host(location.href, "mochi.test:8888"),
    11                    "grandchild_bug260264.html");
    12     </script>
    13   </body>
    14 </html>

mercurial