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();