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 | <script> |
michael@0 | 2 | o0 = document.createElement('canvas'); |
michael@0 | 3 | (document.body || document.documentElement).appendChild(o0); |
michael@0 | 4 | o1 = o0.getContext('2d'); |
michael@0 | 5 | |
michael@0 | 6 | o1.rect(1.7976931348623157e+308, 0.651, 8, 34.323262543409996); |
michael@0 | 7 | o1.stroke() |
michael@0 | 8 | |
michael@0 | 9 | o1.rect(-1.7976931348623157e+308, 0.651, 8, 34.323262543409996); |
michael@0 | 10 | o1.stroke() |
michael@0 | 11 | |
michael@0 | 12 | o1.rect(34.323262543409996, 1.7976931348623157e+308, 0.651, 8); |
michael@0 | 13 | o1.stroke() |
michael@0 | 14 | |
michael@0 | 15 | o1.rect(34.323262543409996, -1.7976931348623157e+308, 0.651, 8); |
michael@0 | 16 | o1.stroke() |
michael@0 | 17 | |
michael@0 | 18 | o1.rect(8, 34.323262543409996, 1.7976931348623157e+308, 0.651); |
michael@0 | 19 | o1.stroke() |
michael@0 | 20 | |
michael@0 | 21 | o1.rect(8, 34.323262543409996, -1.7976931348623157e+308, 0.651); |
michael@0 | 22 | o1.stroke() |
michael@0 | 23 | |
michael@0 | 24 | o1.rect(0.651, 8, 34.323262543409996, 1.7976931348623157e+308); |
michael@0 | 25 | o1.stroke() |
michael@0 | 26 | |
michael@0 | 27 | o1.rect(0.651, 8, 34.323262543409996, -1.7976931348623157e+308); |
michael@0 | 28 | o1.stroke() |
michael@0 | 29 | |
michael@0 | 30 | </script> |