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-64-bfc259be3fa2-linux
2 // Flags: -m -n -a
3 //
5 if (typeof gcPreserveCode != "function") {
6 function gcPreserveCode() {}
7 }
9 if (typeof gcslice != "function") {
10 function gcslice() {}
11 }
13 function f(t)
14 {
15 for (var i = 0; i < 1; ++i) {
16 if (typeof(t) != "string") {
17 }
18 }
19 }
20 function m(d)
21 {
22 if (d == 0)
23 return "";
24 f(m(d - 1));
25 }
26 m(1);
27 gcPreserveCode();
28 try {
29 mjitChunkLimit(1);
30 } catch(exc1) {}
31 gcslice(0);
32 m(1);
33 gc();
34 m(2);