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 // |jit-test| error:TypeError
3 // Binary: cache/js-dbg-64-e8ee411dca70-linux
4 // Flags:
5 //
6 __defineGetter__("x", function () {});
7 function z() {
8 "".replace(/s/, "");
9 }
10 z();
11 (function () {
12 for (a = 0; a < 2; a++) {
13 __defineGetter__("", /a/);
14 for each(y in [__defineGetter__("x", function(){})]) {}
15 }
16 }());