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.
michael@0 | 1 | var g1 = newGlobal(); |
michael@0 | 2 | var dbg = Debugger(g1); |
michael@0 | 3 | g1.dbg = dbg; |
michael@0 | 4 | g1.eval("function foo() { dbg.removeDebuggee(this); }"); |
michael@0 | 5 | g1.eval("function f() { try { throw 3; } catch(e) { foo(); } }\n"); |
michael@0 | 6 | g1.f(); |