gfx/tests/crashtests/385423-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 class="reftest-wait">
     2 <head>
     3 <script>
     4 function boom()
     5 {
     6   var div = document.getElementById("div")
     7   div.appendChild(document.createTextNode(String.fromCharCode(0x076F) + String.fromCharCode(13) + String.fromCharCode(0x076F)));
     9   document.documentElement.removeAttribute("class");
    10 } 
    11 </script>
    13 </head>
    14 <body onload="setTimeout(boom, 10);">
    15 <div style="text-transform: lowercase" id="div">&#x76F;&#13;&#x76F;</div>
    16 </body>
    17 </html>

mercurial