browser/devtools/webconsole/test/test-console-replaced-api.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

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 dir="ltr" xml:lang="en-US" lang="en-US"><head>
     3     <meta charset="utf-8">
     4     <title>Console test replaced API</title>
     5   </head>
     6   <body>
     7     <h1 id="header">Web Console Replace API Test</h1>
     8     <script type="text/javascript">
     9       window.console = {log: function (msg){}, info: function (msg){}, warn: function (msg){}, error: function (msg){}};
    10     </script>
    11   </body>
    12 </html>

mercurial