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 class="reftest-wait">
3 <body>
4 <div id="d" style="background:blue; border-radius:50px; width:200px; height:100px;">
5 </div>
6 <script>
7 function doTest() {
8 var d = document.getElementById("d");
9 d.style.height = "200px";
10 document.documentElement.className = "";
11 }
12 window.addEventListener("MozReftestInvalidate", doTest, false);
13 </script>
14 </body>
15 </html>