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 style="margin-left: 100%">
3 <head>
4 <script>
6 function boom()
7 {
8 document.documentElement.offsetHeight;
9 document.body.lastChild.data = "\u062A"; // ARABIC LETTER TEH
10 document.body.lastChild.data += "Y";
11 document.documentElement.offsetHeight;
12 }
14 </script>
15 </head>
17 <body onload="boom();"><span>A</span> B C</body>
18 </html>