Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
1 /* -*- Mode: C++; 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 "nsIAccessibleEvent.idl"
8 /*
9 * An interface for virtual cursor changed events.
10 * Passes previous cursor position and text offsets.
11 */
12 [scriptable, builtinclass, uuid(370e8b9b-2bbc-4bff-a9c7-16ddc54aea21)]
13 interface nsIAccessibleVirtualCursorChangeEvent : nsIAccessibleEvent
14 {
15 /**
16 * Previous object pointed at by virtual cursor. null if none.
17 */
18 readonly attribute nsIAccessible oldAccessible;
20 /**
21 * Previous start offset of pivot. -1 if none.
22 */
23 readonly attribute long oldStartOffset;
25 /**
26 * Previous end offset of pivot. -1 if none.
27 */
28 readonly attribute long oldEndOffset;
30 /**
31 * Reason for virtual cursor move.
32 */
33 readonly attribute short reason;
34 };