content/base/crashtests/395469-1.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>
     4 <bindings xmlns="http://www.mozilla.org/xbl"><binding id="empty"><content></content></binding></bindings>
     6 <style>
     8 .bef:before { content: counter(c); }
    10 .fl:first-letter { }
    12 </style>
    14 <script>
    16 function boom()
    17 {
    18   document.getElementById("xblize").style.MozBinding = "url('#empty')";
    19 }
    21 </script>
    22 </head>
    24 <body onload="boom();">
    26 <div class="fl"><span class="bef" id="xblize"></span><span class="bef"></span></div>
    28 </body>
    29 </html>

mercurial