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 actual = '';
2 expected = '0,0,2,2,4,4,6,6,8,8,';
4 function g(b) {
5 for (var i = 0; i < 10; ++i) {
6 }
7 }
9 function f(xa_arg) {
10 var xa = xa_arg;
11 for (var i = 0; i < 5; ++i) {
12 var j = i + xa[i];
13 appendToActual(j);
14 g();
15 appendToActual(j);
16 }
17 }
19 f([ 0, 1, 2, 3, 4 ]);
22 assertEq(actual, expected)