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>
3 <head>
4 <title>scripttest-pass-fail</title>
5 <script type="text/javascript">
6 function getTestCases()
7 {
8 return [
9 { testPassed: (function () { return false; }), testDescription: (function () { return "fail"; }) },
10 { testPassed: (function () { return true; }), testDescription: (function () { return "expected random pass"; }) }
11 ];
12 }
13 </script>
14 </head>
15 <body>
16 <h1>scripttest-pass-fail</h1>
17 </body>
18 </html>