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 <META HTTP-EQUIV="Set-Cookie" CONTENT="meta=tag">
5 <script type="text/javascript">
6 function runTest() {
7 document.cookie = "can=has";
9 // send a message to our test document, to say we're done loading
10 window.opener.postMessage("f_lf_i msg data img", "http://mochi.test:8888");
11 }
12 </script>
13 </head>
14 <body onload="window.opener.postMessage('f_lf_i msg data page', 'http://mochi.test:8888');">
15 <img src="http://example.org/tests/extensions/cookie/test/beltzner.jpg" onload="runTest()" />
16 </body>
17 </html>