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 function TestCase(n, d, e, a) this.expect = e;
2 function reportCompare(expected, actual, description) {
3 typeof actual
4 }
5 expect = 1;
6 var summary = 'Do not assert: top < ss->printer->script->depth';
7 var actual = 'No Crash';
8 var expect = 'No Crash';
9 test();
10 function test() {
11 try {
12 p = [1].some(function (y) test()) ? 4 : 0x0041
13 } catch (ex) {}
14 reportCompare(expect, actual, summary)
15 }
16 test();
17 TestCase();
18 test()