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