Desktop Firefox added native support for a subset of the window.console
API. It’s a subset in that only the following API methods are supported:
console.log(arguments)
console.info(arguments)
console.warn(arguments)
console.error(arguments)
Also, the Firebug string formatting features are not supported yet.
Last night we turned on basic support in Firefox Mobile too. It’s basic in the sense that the window.console
is merely forwarded to the Error Console.
Extremely cool. Is there an open bug for tracking further refinements to this? (adding support for additional methods — assert, dir, etc.)
I couldn’t find any bugs filed for that yet. I am working on an add-on that would support more methods in Mobile Firefox.