750
edits
No edit summary |
|||
Line 2: | Line 2: | ||
== General info/Overview == | == General info/Overview == | ||
This feature tracks work that was originally blended into the [[DevTools/Features/WebConsole7|WebConsole7]] feature, but not completed for Firefox 7. | |||
When the Web Console shipped with Firefox 4, it provided the first <tt>console</tt> object to be always available to content in Firefox. It provided enough of the <tt>console</tt> object to be useful (console.log being by far the most popular method on the object). However, it was still lacking in features that developers commonly use. | |||
|Feature users and use cases=You can open up the Web Console and type <tt>console.dir(window)</tt> and see a set of properties and values from the window object in the console object. | |||
In a JavaScript program, you can use <tt>console.group</tt> and <tt>console.groupEnd</tt> to visually group together related log messages. | |||
|Feature requirements=* The <tt>console</tt> object implements the portion of [http://getfirebug.com/wiki/index.php/Console_API the API] that is implemented by both Firebug and WebKit. Notably, this includes time, timeEnd, dir, group and groupEnd. | |||
== Feature page == | == Feature page == |
edits