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-940078281bbf-linux
2 // Flags: --ion-eager
3 //
4 function List(l) {
5 this.l = l;
6 }
7 function f(p) {
8 return g(p.l);
9 };
10 function g(p) {
11 return !(p instanceof List) ? null : f(p.l);
12 };
13 list =
14 new List(new List(
15 new List(new List(
16 new List(new List(
17 new List(new List(null))))))))
18 for (let i = 0; i < 99999; i++) {
19 g(list);
20 }