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 var outer = document.createElement("div");
9 outer.setAttribute("dir", "auto");
10 var inner = document.createElement("div");
11 inner.appendChild(document.createTextNode("A"));
12 outer.appendChild(inner);
13 inner.setAttribute("dir", "auto");
14 }
16 </script>
17 </head>
18 <body onload="boom();"></body>
19 </html>