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.
2 var actual = '';
3 var expected = 'A0B1B2C0C1C2';
5 var x = Iterator([1,2,3], true);
7 for (var a in x) {
8 actual += 'A' + a;
9 for (var b in x) {
10 actual += 'B' + b;
11 }
12 }
14 var y = Iterator([1,2,3], true);
16 for (var c in y) {
17 actual += 'C' + c;
18 }
19 for (var d in y) {
20 actual += 'D' + d;
21 }
23 reportCompare(expected, actual, "Handle nested Iterator iteration right");