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: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 "nsISupports.idl"
8 /**
9 * Used to enumerate over an ordered list of strings.
10 */
12 [scriptable, uuid(50d3ef6c-9380-4f06-9fb2-95488f7d141c)]
13 interface nsIStringEnumerator : nsISupports
14 {
15 boolean hasMore();
16 AString getNext();
17 };
19 [scriptable, uuid(9bdf1010-3695-4907-95ed-83d0410ec307)]
20 interface nsIUTF8StringEnumerator : nsISupports
21 {
22 boolean hasMore();
23 AUTF8String getNext();
24 };