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 <title>Testcase, bug 143862</title>
3 <style type="text/css" id="one"> html { overflow: hidden; } </style>
4 <style type="text/css" id="two"></style>
5 <script type="text/javascript">
6 function remove(elt) { elt.parentNode.removeChild(elt); }
7 function run() {
8 remove(document.getElementById("one"));
9 remove(document.getElementById("two"));
11 document.documentElement.removeAttribute("class");
12 }
13 setTimeout(run, 100);
14 </script>
15 </html>