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.
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "nsIMIMEInfo.idl"
7 /**
8 * The external URL handler service is used for finding
9 * platform-specific applications for handling particular URLs.
10 */
12 [scriptable, uuid(56c5c7d3-6fd3-43f8-9429-4397e111453a)]
13 interface nsIExternalURLHandlerService : nsISupports
14 {
15 /**
16 * Given a URL, looks up the handler info from the OS. This should be
17 * overridden by each OS's implementation.
18 *
19 * @param aURL The URL we are looking for.
20 * @param aFound Was an OS default handler for this URL found?
21 * @return An nsIHanderInfo for the protocol.
22 */
23 nsIHandlerInfo getURLHandlerInfoFromOS(in nsIURI aURL,
24 out boolean aFound);
26 };