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 class="reftest-wait">
2 <head>
3 <script>
5 var HTML_NS = "http://www.w3.org/1999/xhtml";
7 function boom1()
8 {
9 var newSpan = document.createElementNS(HTML_NS, "span");
10 document.body.appendChild(newSpan);
12 setTimeout(boom2, 30);
13 }
15 function boom2()
16 {
17 var newDiv = document.createElementNS(HTML_NS, "div");
18 document.getElementById("s").appendChild(newDiv);
19 document.documentElement.removeAttribute("class");
20 }
22 </script>
23 </head>
24 <body onload="setTimeout(boom1, 30);">
25 <p>العربي</p>
26 <span id="s"></span><input><select></select><isindex><span></span>
27 </body>
28 </html>