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 <!--
4 Tor bug
5 https://trac.torproject.org/projects/tor/ticket/2874
6 -->
7 <head>
8 <meta charset="utf-8">
9 <title>Test for Tor Bug 2874</title>
10 <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
11 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
12 <script type="application/javascript">
13 is(typeof Components, 'undefined', "The global window object should not expose a Components property to untrusted content.");
14 </script>
15 </head>
16 <body>
17 <a target="_blank" href="https://trac.torproject.org/projects/tor/ticket/2874">Tor Bug 2874</a>
18 <p id="display"></p>
19 <div id="content" style="display: none">
21 </div>
22 <pre id="test">
23 </pre>
24 </body>
25 </html>