I\'m writing an extension for Firefox, and I need to log some data to Firebug\'s console. Within the scope of my addon, \"console\" is undefined, and \"window.content.consol
If in your extension you have access to the content Window object, you can unwrap it, and call the console methods directly:
window.wrappedJSObject.console.log('something important');