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 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2 <!-- this is a test for https://bugzilla.mozilla.org/show_bug.cgi?id=521682 -->
4 <defs>
5 <svg id="d">
6 <rect height="50%" width="100%" fill="blue" />
7 </svg>
8 </defs>
10 <use id="u" xlink:href="#d" height="100%" width="11%" />
12 <script>
13 function boom()
14 {
15 document.getElementById("u").removeAttribute("width");
16 }
17 window.addEventListener("load", boom, false);
18 </script>
20 </svg>