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 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
2 <head>
3 <script>
5 var ff;
6 var jj;
8 function boom()
9 {
10 ff = document.createElement("font");
11 ff.setAttribute("size", "-2");
12 ff.appendChild(document.createTextNode("G"));
14 jj = document.getElementById("jj");
16 jj.appendChild(ff);
17 setTimeout(boom2, 30);
18 }
20 function boom2()
21 {
22 jj.removeChild(ff);
24 document.documentElement.removeAttribute("class");
25 }
27 </script>
28 </head>
30 <body onload="boom();" dir="rtl"><div id="jj">h </div></body>
32 </html>