MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla
Your Search Results

    extIConsole

    This content covers features introduced in Thunderbird 3

    The extIConsole interface gives simplified access to the console. extIConsole is defined in toolkit/components/exthelper/extIApplication.idl.

    Implemented via XPCOM service for extIApplication: see the instructions on the FUEL (Firefox), STEEL (Thunderbird) and SMILE (SeaMonkey) pages.

    Method overview

    void log(in AString aMsg)
    void open()

    Attributes

    Attribute Type Description
    FIXME:    

    Methods

    log()

    Sends a given string to the console.

    void log(in AString aMsg)
    
    Parameters
    aMsg
    The text to send to the console
    Return value

    open()

    Opens the error console window. The console window is focused if already open.

    void open()
    
    Parameters

    FIXME:

    Return value

    FIXME:

    Examples

    // send a message to the console
    Application.console.log("Hello from my JS code");
    
    // open the console window (or bring to front if already open)
    Application.console.open();
    

    See also

    FUEL (Firefox), STEEL (Thunderbird), SMILE (SeaMonkey)

    Document Tags and Contributors

    Contributors to this page: jenzed, Sheppy, MarkFinkle, Gomita, ethertank, kscarfone, Mgjbot, Potappo
    Last updated by: Sheppy,