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 var gFutureCalls = [];
3 function add_future_call(index, func)
4 {
5 if (!(index in gFutureCalls)) {
6 gFutureCalls[index] = [];
7 }
8 }
10 function check_reset_test(time)
11 {
12 }
14 check_reset_test(0);
16 for (var i = 1; i <= 8; ++i) {
17 (function(j) {
18 add_future_call(j, function() { check_reset_test(j); });
19 })(i);
20 }