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 | Copyright 2012 Irakli Gozalishvili. All rights reserved. |
michael@0 | 2 | Permission is hereby granted, free of charge, to any person obtaining a copy |
michael@0 | 3 | of this software and associated documentation files (the "Software"), to |
michael@0 | 4 | deal in the Software without restriction, including without limitation the |
michael@0 | 5 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
michael@0 | 6 | sell copies of the Software, and to permit persons to whom the Software is |
michael@0 | 7 | furnished to do so, subject to the following conditions: |
michael@0 | 8 | |
michael@0 | 9 | The above copyright notice and this permission notice shall be included in |
michael@0 | 10 | all copies or substantial portions of the Software. |
michael@0 | 11 | |
michael@0 | 12 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
michael@0 | 13 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
michael@0 | 14 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
michael@0 | 15 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
michael@0 | 16 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
michael@0 | 17 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
michael@0 | 18 | IN THE SOFTWARE. |