dom/wifi/nsIDOMMozWifiConnectionInfoEvent.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 "nsIDOMEvent.idl"
     7 interface nsIVariant;
     9 [scriptable, builtinclass, uuid(627b2102-9605-40e0-a5bf-6d3ac672b328)]
    10 interface nsIDOMMozWifiConnectionInfoEvent : nsIDOMEvent
    11 {
    12     /**
    13      * Network object with an SSID field.
    14      */
    15     readonly attribute nsIVariant network;
    17     /**
    18      * Strength of the signal to network, in dBm between -55 and -100 dBm.
    19      */
    20     readonly attribute short signalStrength;
    22     /**
    23      * Relative signal strength between 0 and 100.
    24      */
    25     readonly attribute short relSignalStrength;
    27     /**
    28      * Link speed in Mb/s.
    29      */
    30     readonly attribute long linkSpeed;
    32     /**
    33      * IP address in the dotted quad format.
    34      */
    35     readonly attribute DOMString ipAddress;
    37     [noscript] void initMozWifiConnectionInfoEvent(in DOMString aType,
    38                                                    in boolean aCanBubble,
    39                                                    in boolean aCancelable,
    40                                                    in nsIVariant aNetwork,
    41                                                    in short signalStrength,
    42                                                    in short relSignalStrength,
    43                                                    in long linkSpeed,
    44                                                    in DOMString ipAddress);
    45 };

mercurial