Archives For June 2010

>Today, the web console code attached to bug 534398 landed on mozilla-central. This means that starting with tomorrow’s  nightly, you will have a new “Heads Up Display” console to tinker with:

If you are interested, the Meta bug is here

There are a number of followup bugs that need to be addressed, the list is here:

Console Bugs

There is a lot of work to do yet, including some platform work. Two glaring bugs are:

“When reporting errors, warnings, etc… to the consoleService, report the originating window or context

The existing errorConsole in Firefox has messages sent to it that do not know what tab the error originated in. We really want to isolate all messages you see to the tab you care about as a web developer. It becomes tedious to try and watch the scrolling messages at times if a “noisy” page is loaded in one of your 200 open tabs. So you will notice that not all errors are displayed in the console.


“create event or method to determine the source contentWindow of loading images and media”

In Firefox, images are loaded differently than script, css and html pages, so much so, that it is difficult to trace these image loads back to the originating tab as well.

Once these two bugs are fixed, your console messages will be very accurately focused to the tab you care about.

The console itself has the standard API: console.log,, console.warn and console.error.

This initial landing into Minefield nightly will hopefully generate some valuable feedback from web developers and Mozilla developers alike. Please do not hesitate to comment here or even better in bugzilla.



>As part of the “Developer Tools” we are working on for Firefox 4, the console is coming along nicely. The latest “try builds” are here for Linux, Windows and MacOS:

Windows and Mac Builds

Linux build

The UI has not been worked on at all at this point. There are several bugs on mock ups and implementation. The current UI was implemented by me, an engineer, so you will be underwhelmed.

There are several broken features like image urls not logging properly and not all exceptions and CSS errors are logged to the tab’s console.

Here is the list of currently open bugs:

Here is a screen shot:

Feel free to download it and take it for a test run, file bugs. This is still at an early point, but feedback is valuable, so don’t hesitate to comment here or in Bugzilla.