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 | (function()[function() function() function() function() function() function() {}]); |
michael@0 | 2 | foo = [{ |
michael@0 | 3 | text: "(function(){if(d){(1)}})", |
michael@0 | 4 | s: function() {}, |
michael@0 | 5 | test: function() { |
michael@0 | 6 | try { |
michael@0 | 7 | f |
michael@0 | 8 | } catch(e) {} |
michael@0 | 9 | } |
michael@0 | 10 | }, |
michael@0 | 11 | { |
michael@0 | 12 | text: "(function(){t})", |
michael@0 | 13 | s: function() {}, |
michael@0 | 14 | test: function() {} |
michael@0 | 15 | }, |
michael@0 | 16 | { |
michael@0 | 17 | text: "(function(){if(0){}})", |
michael@0 | 18 | s: function() {}, |
michael@0 | 19 | test: function() {} |
michael@0 | 20 | }, |
michael@0 | 21 | { |
michael@0 | 22 | text: "(function(){if(1){}(2)})", |
michael@0 | 23 | s: function() {}, |
michael@0 | 24 | test: function() {} |
michael@0 | 25 | }, |
michael@0 | 26 | { |
michael@0 | 27 | text: "(function(){g})", |
michael@0 | 28 | b: function() {}, |
michael@0 | 29 | test: function() {} |
michael@0 | 30 | }, |
michael@0 | 31 | { |
michael@0 | 32 | text: "(function(){})", |
michael@0 | 33 | s: function() {}, |
michael@0 | 34 | test: function() {} |
michael@0 | 35 | }, |
michael@0 | 36 | { |
michael@0 | 37 | text: "(function(){1})", |
michael@0 | 38 | s: function() {}, |
michael@0 | 39 | test: function() {} |
michael@0 | 40 | }]; (function() { |
michael@0 | 41 | for (i = 0; i < foo.length; ++i) { |
michael@0 | 42 | a = foo[i] |
michael@0 | 43 | text = a.text |
michael@0 | 44 | eval(text.replace(/@/, "")); |
michael@0 | 45 | if (a.test()) {} |
michael@0 | 46 | } |
michael@0 | 47 | } ()); |
michael@0 | 48 | s = [function() function() function() function() function() function() {}] |
michael@0 | 49 | [function() function() function() function() {}]; |
michael@0 | 50 | (function() { [function() function() {}] }); |
michael@0 | 51 | (function() {}); |
michael@0 | 52 | (eval("\ |
michael@0 | 53 | (function(){\ |
michael@0 | 54 | for each(d in[\ |
michael@0 | 55 | 0,0,0,0,0,0,0,0,0,0,0,0,0,null,NaN,1,Boolean(false),Boolean(false)\ |
michael@0 | 56 | ]){\ |
michael@0 | 57 | [].filter(new Function,gczeal(2))\ |
michael@0 | 58 | }\ |
michael@0 | 59 | })\ |
michael@0 | 60 | "))(); |