Tue, 06 Jan 2015 21:39:09 +0100
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 <!--docytpe html-->
2 <html><head>
3 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
4 <meta charset="UTF-8">
5 <script>
6 window.onload=function(){
7 c=document.getElementById("myCanvas").getContext("2d");
8 c.canvas.width=c.canvas.width;
9 c.font="35px sans-serif";
10 c.shadowColor="darkblue";
11 c.shadowBlur=2;
12 c.moveTo(20,20);
13 c.strokeText('ABCDEF',20,100);
14 }
15 </script>
16 </head>
17 <body>
18 <canvas id="myCanvas" height="500" width="500" style="border:1px solid black"></canvas>
20 </body></html>