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 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "nsIDOMUIEvent.idl"
8 [scriptable, builtinclass, uuid(49ab3d1d-f549-4cdb-904c-f6b6d3a0ec9e)]
9 interface nsIDOMScrollAreaEvent : nsIDOMUIEvent
10 {
11 // Scroll area client rect
12 readonly attribute float x;
13 readonly attribute float y;
14 readonly attribute float width;
15 readonly attribute float height;
17 void initScrollAreaEvent(in DOMString aEventType,
18 in boolean aCanBubble,
19 in boolean aCancelable,
20 in nsIDOMWindow aView,
21 in long aDetail,
22 in float x,
23 in float y,
24 in float width,
25 in float height);
26 };