xpcom/system/nsIXULAppInfo.idl

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     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