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>
4 var obj;
6 function boo()
7 {
8 obj = document.getElementById("obj");
9 setScriptSrc();
10 }
12 function setScriptSrc()
13 {
14 obj.data = "javascript:setScriptSrc2();";
15 }
17 function setScriptSrc2()
18 {
19 obj.data = "javascript:void 0";
21 document.documentElement.removeAttribute("class");
22 }
24 </script>
25 </head>
27 <body onload="setTimeout(boo, 30);">
29 <object data="../../../testing/crashtest/images/tree.gif" id="obj">
31 </body>
33 </html>