layout/svg/crashtests/369438-2.svg

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

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 width="100%" height="100%" version="1.1"
     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>
     4 function boom()
     5 {
     6   var defs = document.getElementById("defs");
     7   var gb = document.getElementById("Gaussian_Blur");
     9   defs.parentNode.removeChild(defs);
    10   gb.removeChild(gb.firstChild); // remove a whitespace text node (!)
    12   document.documentElement.removeAttribute("class");
    13 }
    15 </html:script>
    17 <defs id="defs">
    18 <filter id="Gaussian_Blur">
    19 <feGaussianBlur in="SourceGraphic" stdDeviation="3"/>
    20 </filter>
    21 </defs>
    23 <ellipse cx="200" cy="150" rx="70" ry="40"
    24 style="fill:#ff0000;stroke:#000000;
    25 stroke-width:2;filter:url(#Gaussian_Blur)"/>
    27 </svg>

mercurial