layout/reftests/canvas/672646-alpha-radial-gradient-ref.html

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 <!doctype html>
     2 <head>
     3   <style>
     4   body {
     5     background-color: blue;
     6   }
     7   </style>
     9 <body>
    10   <canvas id="mycanvas" width="200" height="200"></canvas>
    12   <script type="text/javascript">
    13   var cx = document.getElementById('mycanvas').getContext('2d');
    14   cx.beginPath();
    15   cx.arc(100, 100, 80, 0, Math.PI*2, true); 
    16   cx.closePath();
    17   cx.fillStyle = "white";
    18   cx.fill();
    19   </script>

mercurial