layout/reftests/table-anonymous-boxes/394402-1-ref.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 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3   <head>
     4     <style>
     5       body { font-family: sans-serif; }
     6     </style>
     7     <script>
     8       function runTest() {
     9         document.getElementById('r').appendChild(document.createTextNode('x'));
    10         document.getElementById('r').appendChild(document.createTextNode('x'));
    11         document.getElementById('r').appendChild(document.createTextNode('x'));
    12         document.body.normalize();
    13         document.getElementById('t').style.display = "";
    14         document.documentElement.className = "";
    15       }
    16     </script>
    17   </head>
    18 <body onload="runTest()">
    20 <table style="display: none" border=1 id="t"><tbody><tr id="r"><td id="c">TD</td></tr></tbody></table>
    22 </body>
    23 </html>

mercurial