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 | // Binary: cache/js-dbg-64-290712e55ade-linux |
michael@0 | 2 | // Flags: -j |
michael@0 | 3 | // |
michael@0 | 4 | var o9 = Function.prototype; |
michael@0 | 5 | var o13 = Array; |
michael@0 | 6 | function f5(o) { |
michael@0 | 7 | o.watch('p3', function() {}); |
michael@0 | 8 | ox1 = wrap(o); |
michael@0 | 9 | } |
michael@0 | 10 | f5(o9); |
michael@0 | 11 | f5(o13); |
michael@0 | 12 | var o0 = []; |
michael@0 | 13 | function f3(o) { |
michael@0 | 14 | var prop = Object.getOwnPropertyNames(ox1)[0]; |
michael@0 | 15 | if (prop) { Object.defineProperty(ox1, prop, {configurable: true,enumerable: true,unused: 1 }); } |
michael@0 | 16 | }(function() { |
michael@0 | 17 | for(var o3 in o0) { |
michael@0 | 18 | f3(f3); |
michael@0 | 19 | } |
michael@0 | 20 | })(); |
michael@0 | 21 | for (var i = 0; i < 9; i++) |
michael@0 | 22 | { |
michael@0 | 23 | new Array(1, 2); |
michael@0 | 24 | } |