gfx/tests/crashtests/385228-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 version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 480 360" onload="yaa();"  class="reftest-wait">
     3 <g id="g">
     4   <rect width="440" height="340" fill="url(#pat1)"/>
     5   <pattern id="pat1" width="20" height="20"><rect/></pattern>
     6 </g>
     8 <script type="text/javascript">
    10 function yaa()
    11 {
    12   var g = document.getElementById("g");
    13   document.documentElement.removeChild(g);
    14   document.documentElement.appendChild(g);
    16   document.documentElement.removeAttribute("class");
    17 }
    18 </script>
    20 </svg>

mercurial