xpcom/system/nsIXULAppInfo.idl

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

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 #include "nsISupports.idl"
     7 /**
     8  * A scriptable interface to the nsXULAppAPI structure. See nsXULAppAPI.h for
     9  * a detailed description of each attribute.
    10  */
    12 [scriptable, uuid(1518e7d2-022a-4dae-b02e-bbe7ffcf2145)]
    13 interface nsIXULAppInfo : nsISupports
    14 {
    15   /**
    16    * @see nsXREAppData.vendor
    17    * @returns an empty string if nsXREAppData.vendor is not set.
    18    */
    19   readonly attribute ACString vendor;
    21   /**
    22    * @see nsXREAppData.name
    23    */
    24   readonly attribute ACString name;
    26   /**
    27    * @see nsXREAppData.ID
    28    * @returns an empty string if nsXREAppData.ID is not set.
    29    */
    30   readonly attribute ACString ID;
    32   /**
    33    * The version of the XUL application. It is different than the
    34    * version of the XULRunner platform. Be careful about which one you want.
    35    *
    36    * @see nsXREAppData.version
    37    * @returns an empty string if nsXREAppData.version is not set.
    38    */
    39   readonly attribute ACString version;
    41   /**
    42    * The build ID/date of the application. For xulrunner applications,
    43    * this will be different than the build ID of the platform. Be careful
    44    * about which one you want.
    45    */
    46   readonly attribute ACString appBuildID;
    48   /**
    49    * The version of the XULRunner platform.
    50    */
    51   readonly attribute ACString platformVersion;
    53   /**
    54    * The build ID/date of gecko and the XULRunner platform.
    55    */
    56   readonly attribute ACString platformBuildID;
    58   /**
    59    * @see nsXREAppData.UAName
    60    * @returns an empty string if nsXREAppData.UAName is not set.
    61    */
    62   readonly attribute ACString UAName;
    63 };

mercurial