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 | try { |
michael@0 | 2 | (function() { |
michael@0 | 3 | var m |
michael@0 | 4 | new ArrayBuffer() |
michael@0 | 5 | var _ = t |
michael@0 | 6 | var _2 = [] |
michael@0 | 7 | }()) |
michael@0 | 8 | } catch (e) {} |
michael@0 | 9 | try { |
michael@0 | 10 | for (y in [schedulegc(58)]) { |
michael@0 | 11 | m |
michael@0 | 12 | } |
michael@0 | 13 | } catch (e) {} |
michael@0 | 14 | try { |
michael@0 | 15 | (function() { |
michael@0 | 16 | true |
michael@0 | 17 | }()) |
michael@0 | 18 | } catch (e) {} |
michael@0 | 19 | try { |
michael@0 | 20 | (function() { |
michael@0 | 21 | s |
michael@0 | 22 | }()) |
michael@0 | 23 | } catch (e) {} |
michael@0 | 24 | try { |
michael@0 | 25 | e |
michael@0 | 26 | } catch (e) {} |
michael@0 | 27 | try { |
michael@0 | 28 | "" () |
michael@0 | 29 | } catch (e) {} |
michael@0 | 30 | try { |
michael@0 | 31 | gc() |
michael@0 | 32 | s |
michael@0 | 33 | } catch (e) {} |
michael@0 | 34 | try { |
michael@0 | 35 | (function() { |
michael@0 | 36 | for (v of m) {} |
michael@0 | 37 | }()) |
michael@0 | 38 | } catch (e) {} |
michael@0 | 39 | try { |
michael@0 | 40 | t |
michael@0 | 41 | } catch (e) {} |
michael@0 | 42 | try { |
michael@0 | 43 | (function() { |
michael@0 | 44 | "use strict"; |
michael@0 | 45 | print(new function() { |
michael@0 | 46 | r |
michael@0 | 47 | }(this)) |
michael@0 | 48 | }()) |
michael@0 | 49 | } catch (e) {} |