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| slow
2 // This test is too slow to run with ASan in a debug configuration
3 if (getBuildConfiguration()['asan'] && getBuildConfiguration()['debug']) quit(0);
5 function fatty() {
6 try {
7 fatty();
8 } catch (e) {
9 foo();
10 }
11 }
13 if (!getBuildConfiguration()['root-analysis']) { // >:(
14 foo = evalcx("(function foo() { foo.bar() })");
15 foo.bar = evalcx("(function bar() {})");
17 fatty();
18 }