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.
michael@0 | 1 | <svg width="100%" height="100%" version="1.1" |
michael@0 | 2 | xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml" onload="setTimeout(boom, 30);" class="reftest-wait"><html:script> |
michael@0 | 3 | |
michael@0 | 4 | function boom() |
michael@0 | 5 | { |
michael@0 | 6 | var defs = document.getElementById("defs"); |
michael@0 | 7 | var gb = document.getElementById("Gaussian_Blur"); |
michael@0 | 8 | |
michael@0 | 9 | defs.parentNode.removeChild(defs); |
michael@0 | 10 | gb.removeChild(gb.firstChild); // remove a whitespace text node (!) |
michael@0 | 11 | |
michael@0 | 12 | document.documentElement.removeAttribute("class"); |
michael@0 | 13 | } |
michael@0 | 14 | |
michael@0 | 15 | </html:script> |
michael@0 | 16 | |
michael@0 | 17 | <defs id="defs"> |
michael@0 | 18 | <filter id="Gaussian_Blur"> |
michael@0 | 19 | <feGaussianBlur in="SourceGraphic" stdDeviation="3"/> |
michael@0 | 20 | </filter> |
michael@0 | 21 | </defs> |
michael@0 | 22 | |
michael@0 | 23 | <ellipse cx="200" cy="150" rx="70" ry="40" |
michael@0 | 24 | style="fill:#ff0000;stroke:#000000; |
michael@0 | 25 | stroke-width:2;filter:url(#Gaussian_Blur)"/> |
michael@0 | 26 | |
michael@0 | 27 | </svg> |