layout/svg/crashtests/371563-1.xhtml

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 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     2 <head>
     3 <script>
     5 function boom()
     6 {
     7   document.getElementById("sdiv").style.overflow = "scroll";
     9   document.documentElement.removeAttribute("class");
    10 }
    13 </script>
    14 </head>
    16 <body onload="setTimeout(boom, 30);">
    18   <div id="sdiv" style="float: left;">
    20   <svg xmlns="http://www.w3.org/2000/svg" height="400px" width="400px"
    21      y="0.0000000" x="0.0000000" version="1.0" >
    22     <defs>
    23       <marker id="Arrow"/>
    24     </defs>
    25     <path style="marker-end:url(#Arrow)"
    26        d="M 12.500000,200.00000 L 387.50000,200.00000" />
    27   </svg>
    29   </div>
    31 </body>
    32 </html>

mercurial