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 // |jit-test| error: InternalError: too much recursion
2 function TestCase(n, d, e, a) {
3 this.bugnumber = typeof(BUGNUMER) != 'undefined' ? BUGNUMBER : '';
4 this.type = (typeof window == 'undefined' ? 'shell' : 'browser');
5 gTestcases[gTc++] = this;
6 if (optionName) {}
7 {} {} {} // Seems to be required to crash
8 }
9 function f() {}
10 function g(n, h) {
11 var t = g(TestCase.toSource());
12 }
13 g(80, f);