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 /* vim: set shiftwidth=2 tabstop=8 autoindent cindent expandtab: */
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"
7 %{C++
8 #include "nsWeakPtr.h"
9 #include "nsPoint.h"
10 %}
11 interface nsIVariant;
13 [scriptable, uuid(6d5484f7-92ac-45f8-9388-39b5bad055ce)]
14 interface nsITouchEventReceiver : nsISupports {
15 [implicit_jscontext] attribute jsval ontouchstart;
16 [implicit_jscontext] attribute jsval ontouchend;
17 [implicit_jscontext] attribute jsval ontouchmove;
18 [implicit_jscontext] attribute jsval ontouchenter;
19 [implicit_jscontext] attribute jsval ontouchleave;
20 [implicit_jscontext] attribute jsval ontouchcancel;
21 };