Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
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: 2 -*-
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include "nsISupports.idl"
9 interface nsIDOMWindow;
10 interface nsIPrintSettings;
11 interface nsIWebProgressListener;
13 %{ C++
14 #include <stdio.h>
15 %}
17 [ptr] native FILE(FILE);
19 /**
20 * The nsIDocShellFile
21 */
23 [scriptable, uuid(564a3276-6228-401e-9b5c-d82cb382a60f)]
24 interface nsIContentViewerFile : nsISupports
25 {
26 readonly attribute boolean printable;
28 [noscript] void print(in boolean aSilent,
29 in FILE aDebugFile,
30 in nsIPrintSettings aPrintSettings);
31 };