layout/svg/crashtests/732836-1.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 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" >
     3   <symbol id="z">
     4     <use xlink:href="data:image/svg+xml,&lt;svg xmlns='http://www.w3.org/2000/svg' id='root' /&gt;#root" />
     5   </symbol>
     7   <use id="a" xlink:href="#z" width="20"/>
     9   <script>
    10   window.addEventListener("load", function() {
    11     window.scrollByPages(0);
    12     document.getElementById("a").removeAttribute("width");
    13     document.elementFromPoint(0, 0);
    14   }, false);
    15   </script>
    17 </svg>

mercurial