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 callStack = new Array();
2 function exitFunc (funcName) {
3 var lastFunc = callStack.pop();
4 }
5 gczeal(4);
6 var sb = evalcx('');
7 sb.parent = this;
8 this.f = function name(outer) {
9 return (exitFunc ('test'));
10 }
11 evalcx('this.f = parent.f; var s = ""; for (i = 0; i < 10; ++i) s += f(true); s', sb);