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 <?xml version="1.0"?>
3 <svg xmlns="http://www.w3.org/2000/svg">
5 <g id="a"><g id="b"/></g>
7 <script type="text/javascript">
8 <![CDATA[
10 function j()
11 {
12 var a = document.getElementById("a");
13 var b = document.getElementById("b");
14 window.addEventListener("DOMAttrModified", k, true);
15 function k()
16 {
17 window.removeEventListener("DOMAttrModified", k, true);
18 a.appendChild(b);
19 }
20 b.removeAttribute("id");
21 }
23 window.addEventListener("load", j, false);
25 ]]>
26 </script>
27 </svg>