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 <html class="reftest-wait">
2 <head>
4 <script>
5 function boom()
6 {
7 document.body.offsetHeight;
9 var parent = document.getElementById("body");
11 for (var i = 3; i <= 5; i++) {
12 var newdiv = document.createElement("div");
13 newdiv.appendChild(document.createTextNode(i));
14 parent.appendChild(newdiv);
15 }
17 document.body.offsetHeight;
18 document.documentElement.className = "";
19 }
20 </script>
22 </head>
23 <body id="body" onload="boom();">
24 <div>1</div>
25 <div>2</div>
26 </body>
27 </html>