Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
1 <!--
2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/licenses/publicdomain/
5 Test document.mozSetImageElement() with a DOM element not in a document.
6 -->
7 <html>
8 <body style="margin:0">
9 <div style="width:100px; height:100px;
10 background:-moz-element(#d);"></div>
12 <script src="canvas-drawing.js"></script>
13 <script>
14 var canvas = createCanvas();
15 document.mozSetImageElement("d", canvas);
16 </script>
17 </body>
18 </html>