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:ReferenceError
3 try {
4 evaluate(" (function(c) { const x = 1; for (x in null); })();");
5 var expect = "Passed";
6 } catch ( e ) {
7 result = expect;
8 }
9 schedulegc(10);
10 eval("var o = new MyObject(); var result = 0; for (var o in foo) { result += this[o]; } ")
11 function MyObject() {}