layout/svg/crashtests/458453.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 class="reftest-wait">
     2 <head>
     3 <script type="text/javascript">
     5 var i = 0;
     7 function bouncy()
     8 {
     9   var body = document.body;
    10   document.documentElement.removeChild(body);
    11   document.documentElement.appendChild(body);
    13   if (++i < 30)
    14     setTimeout(bouncy, 1);
    15   else
    16     document.documentElement.removeAttribute("class");
    17 }
    19 </script>
    20 </head>
    22 <body onload="bouncy();"><span id="a"></span><span style="filter: url(#a);"><span style="filter: url(#a);">B</span></span></body>
    24 </html>

mercurial