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 // Iterating over a property with an Array id.
2 function n() {}
3 function g() {}
4 eval("\
5 function a() {}\
6 function b() {\
7 for (w in this) {}\
8 Object.defineProperty(\
9 this, \
10 new Array, \
11 ({enumerable: true})\
12 )\
13 }\
14 for (z in [0, 0, 0]) b()\
15 ")
17 // Test it doesn't assert.