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 var lfcode = new Array();
2 lfcode.push("\
3 test();\
4 function test() {\
5 function removeAllProperties(o) {\
6 bar() = thaw, patterns;\
7 }\
8 var o = {};\
9 o.first = { toSource: function() { removeAllProperties(o); } };\
10 return o.toSource();\
11 }\
12 ");
13 lfcode.push("test();");
14 gczeal(4);
15 while (true) {
16 var file = lfcode.shift(); if (file == undefined) { break; }
17 loadFile(file);
18 }
19 function loadFile(lfVarx) {
20 try {
21 evaluate(lfVarx);
22 } catch (lfVare) { }
23 }