Sat, 03 Jan 2015 20:18:00 +0100
Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.
1 // Binary: cache/js-dbg-32-f1764bf06b29-linux
2 // Flags: --ion-eager
3 //
5 var callStack = new Array();
6 function enterFunc (funcName) {
7 funcName += "()";
8 callStack.push(funcName);
9 }
10 function exitFunc (funcName) {
11 var lastFunc = callStack.pop();
12 funcName += "()";
13 if (lastFunc != funcName)
14 print();
15 }
16 try {
17 test();
18 } catch(exc1) {}
19 function test() {
20 enterFunc ('test');
21 test();
22 }
23 for (var l = 0; l < 50000; l++)
24 exitFunc ('test');