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>
4 <style id="style">
5 .ch1 { counter-increment: chicken; }
6 </style>
8 <script>
9 function boom()
10 {
11 document.getElementsByTagName("ol")[0].setAttribute("class", "wtf");
12 document.getElementById("style").textContent = ".ch2 { counter-increment: chicken; }";
14 document.documentElement.removeAttribute("class");
15 }
16 </script>
17 </head>
19 <body onload="setTimeout(boom, 30);">
22 <ol>
23 <li class="ch1">item</li>
24 <li>item
25 <ol>
26 <li class="ch2">item</li>
27 </ol>
28 </li>
29 </ol>
31 <ol class="ch2">
32 <li>item</li>
33 </ol>
36 </body>
37 </html>