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 // Binary: cache/js-dbg-64-e69034463eeb-linux
2 // Flags: -j
3 //
4 /* vim: set ts=8 sts=4 et sw=4 tw=99: */
5 function f() {
6 this.search = function(a, b, c) {
7 arguments[3] = { }
8 arguments.length = 4;
9 for (var i = 0; i < 100; i++) {
10 print(arguments[3]);
11 }
12 }
13 }
14 var o = new f();
15 o.search({x: -1, y: -1, w: 100600, h: 100600});