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.
2 /* Array natives applied to non-arrays. */
4 var oa = {};
5 Array.pop(oa);
6 assertEq(oa.length, 0);
8 var ob = {};
9 Array.push(ob, "twelve");
10 assertEq(ob.length, 1);
12 var oc = {};
13 Array.shift(oc);
14 assertEq(oc.length, 0);
16 var od = {};
17 Array.unshift(od, "eight");
18 assertEq(od.length, 1);