content/base/crashtests/343889-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 <meta http-equiv="content-type" content="text/html; charset=utf8">
     4 </head>
     5 <body onload="boom()">
     6 <iframe src="#" id="data"></iframe>
     7 <script>
     8 function boom() {
     9 var d=document.getElementById('data').contentDocument;
    10 d.clear()
    11 var text='Тест';
    12 d.write(text);
    13 d.close();
    14 document.documentElement.removeAttribute("class");
    15 }
    16 </script>
    17 </body>
    18 </html>

mercurial