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 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | #include "nsISupports.idl" |
michael@0 | 6 | |
michael@0 | 7 | /** |
michael@0 | 8 | * A scriptable interface used on Windows only to do some work from |
michael@0 | 9 | * a special process that gets created with elevated privileges. |
michael@0 | 10 | * |
michael@0 | 11 | * @status UNSTABLE - This interface is not frozen and will probably change in |
michael@0 | 12 | * future releases. |
michael@0 | 13 | */ |
michael@0 | 14 | |
michael@0 | 15 | [scriptable, uuid(dc263ca8-b257-47eb-b5b7-339d9e0b90f7)] |
michael@0 | 16 | interface nsIWinAppHelper : nsISupports |
michael@0 | 17 | { |
michael@0 | 18 | readonly attribute boolean userCanElevate; |
michael@0 | 19 | }; |