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>
2 <body>
4 <!-- The test relies on the fact that this file is completely empty. -->
6 <script>
8 function ok(b, msg)
9 {
10 alert((b ? 'pass:' : 'fail:') + msg);
11 }
13 var w = window.open("file_empty.html");
14 w.addEventListener('load', function() {
15 ok(true, 'Got load.');
16 ok(w.document.getElementById('url'), 'Found element with id "url"');
17 alert('finish');
18 });
19 </script>
21 </body>
22 </html>