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 // getprop, self, 1 shape
3 var expected = "11,22,33,11,22,33,11,22,33,11,22,33,11,22,33,";
4 var actual = '';
6 function f() {
7 var o = { a: 11, b: 22, c: 33 };
9 for (var i = 0; i < 5; ++i) {
10 actual += o.a + ',';
11 actual += o.b + ',';
12 actual += o.c + ',';
13 }
14 }
16 f();
18 assertEq(actual, expected);