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 // Binary: cache/js-dbg-64-61b1c094b729-linux
2 // Flags: -j
3 //
4 function mk() {
5 return (function () {});
6 }
8 function f() {
9 var j = 55;
11 var f = function () {
12 return j;
13 }
15 var g = function() {
16 }
18 var a = [ mk(), f, g, mk(), mk() ];
20 for (var i = 0; i < 5; ++i) {
21 a[i].p = 99;
22 }
23 }
25 f();