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 // |jit-test| ion-eager
3 function causeBreak(t, n, r) {
4 gcPreserveCode();
5 gc();
6 }
8 function centralizeGetProp(p)
9 {
10 p.someProp;
11 }
13 var handler = {};
15 function test() {
16 var p = new Proxy({}, handler);
18 var count = 5;
19 for (var i = 0; i < count; i++) {
20 centralizeGetProp(p);
21 }
22 handler.get = causeBreak;
23 centralizeGetProp(p);
24 }
26 test();