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 <!DOCTYPE HTML>
2 <html reftest-zoom="1.5" class="reftest-wait">
3 <body style="margin:0;">
4 <div id="d" style="position:absolute; top:15px; left:15px; width:100px; height:100px;"></div>
5 <script>
6 function doTest() {
7 document.getElementById("d").style.background = "yellow";
8 document.documentElement.removeAttribute('class');
9 }
10 document.addEventListener("MozReftestInvalidate", doTest, false);
11 </script>
12 </body>
13 </html>