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 /* 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 #import "mozAccessible.h"
7 #import "HyperTextAccessible.h"
9 @interface mozTextAccessible : mozAccessible
10 {
11 // both of these are the same old mGeckoAccessible, but already
12 // QI'd for us, to the right type, for convenience.
13 mozilla::a11y::HyperTextAccessible* mGeckoTextAccessible; // strong
14 nsIAccessibleEditableText *mGeckoEditableTextAccessible; // strong
15 }
16 @end
18 @interface mozTextLeafAccessible : mozAccessible
19 {
20 }
21 @end