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 "nsIDOMEvent.idl"
7 interface nsIVariant;
9 [scriptable, builtinclass, uuid(627b2102-9605-40e0-a5bf-6d3ac672b328)]
10 interface nsIDOMMozWifiConnectionInfoEvent : nsIDOMEvent
11 {
12 /**
13 * Network object with an SSID field.
14 */
15 readonly attribute nsIVariant network;
17 /**
18 * Strength of the signal to network, in dBm between -55 and -100 dBm.
19 */
20 readonly attribute short signalStrength;
22 /**
23 * Relative signal strength between 0 and 100.
24 */
25 readonly attribute short relSignalStrength;
27 /**
28 * Link speed in Mb/s.
29 */
30 readonly attribute long linkSpeed;
32 /**
33 * IP address in the dotted quad format.
34 */
35 readonly attribute DOMString ipAddress;
37 [noscript] void initMozWifiConnectionInfoEvent(in DOMString aType,
38 in boolean aCanBubble,
39 in boolean aCancelable,
40 in nsIVariant aNetwork,
41 in short signalStrength,
42 in short relSignalStrength,
43 in long linkSpeed,
44 in DOMString ipAddress);
45 };