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 <!DOCTYPE html>
2 <html>
3 <body>
4 <canvas id="c" width="5000" height="20000">
5 </canvas>
6 <script>
7 var ctxt = document.getElementById('c').getContext('2d');
8 ctxt.strokeStyle = "Red";
9 ctxt.font = "bold 16px Arial";
10 ctxt.strokeText('Hello World!', 100, 100);
11 </script>
12 </body>
13 </html>