Tue, 06 Jan 2015 21:39:09 +0100
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>
3 <head>
4 <style type="text/css">
5 #it { display: inline-table; }
6 </style>
7 </head>
8 <body>
9 <p>a<span id="it">b</span>d</p>
10 <script>
11 document.body.offsetWidth;
12 document.getElementById("it").appendChild(document.createTextNode("c"));
13 </script>
14 </body>
15 </html>