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 <head>
4 <script>
6 function boom()
7 {
8 var a = document.getElementById("a");
9 var b = document.getElementById("b");
10 a.getContext('2d').createPattern(b, 'no-repeat');
11 }
13 </script>
14 </head>
16 <body onload="boom();">
17 <canvas id="a" width="61" height="26"></canvas>
18 <canvas id="b" width="611" height="439807"></canvas>
19 </body>
21 </html>