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,undefined,0,undefined,1,undefined,0,undefined,1,undefined,0,undefined,1,undefined,nocrash,';
4 // bug 496987
6 for each(let a in ["", "", true, "", true, "", true]) {
7 appendToActual((function() {
8 for (var e in [0]) {
9 appendToActual( + a)
10 }
11 })())
12 }
14 appendToActual('nocrash')
17 assertEq(actual, expected)