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 <script>
6 function boom()
7 {
8 d.setAttribute('dir', "auto");
9 c.setAttribute('dir', "auto");
10 d.removeAttribute('dir');
11 c.removeAttribute('dir');
12 b.setAttribute('dir', "auto");
13 }
15 </script>
16 </head>
18 <body onload="boom();">
20 <div id="a" dir="auto"><div id="b"><div id="c"><div id="d"></div></div></div></div>
22 </body>
23 </html>