gfx/tests/crashtests/394246-2.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>
     4 function boom()
     5 {
     6   var div = document.getElementById("div");
     7   div.innerHTML = div.innerHTML.slice(1);
     8   setTimeout(c, 30);
     9 }
    11 function c()
    12 {
    13   div.innerHTML = div.innerHTML.slice(1);
    14   document.documentElement.removeAttribute("class");
    15 }
    16 </script>
    17 </head>
    18 <body onload="boom();">
    20 <div id="div">t
    21 &#769;</div>
    23 </body></html>

mercurial