layout/base/crashtests/466763-1.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="text/javascript">
     5 function boom()
     6 {
     7   var s = document.getElementById("s");
     8   s.appendChild(s.previousSibling);
     9   s.parentNode.removeAttribute("class");
    10   document.documentElement.offsetHeight;
    11   s.appendChild(document.createTextNode(" "));
    12 }
    14 </script>
    15 <style type="text/css">
    17 .flfr:first-letter { float: right; }
    19 </style>
    20 </head>
    22 <body onload="boom();" class="flfr">&#xFEB7; <span id="s"></span></body>
    24 </html>

mercurial