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.
michael@0 | 1 | // |jit-test| slow; error:InternalError |
michael@0 | 2 | |
michael@0 | 3 | // Binary: cache/js-dbg-32-343ec916dfd5-linux |
michael@0 | 4 | // Flags: -m -n |
michael@0 | 5 | // |
michael@0 | 6 | |
michael@0 | 7 | function TestCase(n, d, e, a) |
michael@0 | 8 | TestCase.prototype.dump = function () {}; |
michael@0 | 9 | function enterFunc (funcName) |
michael@0 | 10 | function writeHeaderToLog( string ) {} |
michael@0 | 11 | gczeal(2); |
michael@0 | 12 | function f() {} |
michael@0 | 13 | try { |
michael@0 | 14 | var BUGNUMBER = 350621; |
michael@0 | 15 | test(); |
michael@0 | 16 | } catch(exc1) {} |
michael@0 | 17 | function test() { |
michael@0 | 18 | enterFunc ( summary = this, test(BUGNUMBER)); |
michael@0 | 19 | function gen1() { } |
michael@0 | 20 | function test_it(RUNS) { } |
michael@0 | 21 | } |
michael@0 | 22 | new TestCase (String([(1),'a22','a23','a24']), |
michael@0 | 23 | String('a11\na22\na23\na24'.match(new RegExp('a..$','g')))); |
michael@0 | 24 | test(); |