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 actual = '';
2 expected = 'true,';
4 var isNotEmpty = function (obj) {
5 for (var i = 0; i < arguments.length; i++) {
6 var o = arguments[i];
7 if (!(o && o.length)) {
8 return false;
9 }
10 }
11 return true;
12 };
14 appendToActual(isNotEmpty([1], [1], [1], "asdf", [1]));
17 assertEq(actual, expected)