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 // Binary: cache/js-dbg-64-a3eeee8f7803-linux
2 // Flags: -m -n
3 //
4 var i = 0;
5 var gTestcases = new Array;
6 var gTc = gTestcases;
7 function TestCase(n, d, e, a) {
8 this.description=d;
9 gTestcases[gTc++]=this;
10 }
11 function writeTestCaseResult( expect, actual, string ) {};
12 new TestCase;
13 test();
14 function test() {
15 for ( gTc=0 ; ; ) {
16 i++;
17 if (i > 20) { break; }
18 gTestcases[gTc].description+=" )";
19 gTestcases=[1,];
20 }
21 }