Firefox Developer Tool Features for Firefox 23
hacks.mozilla.org
hacks.mozilla.org
So I'm looking forward to this update :)
(this did not work in ff22 or older)
But FFox has made major progress the last few years :)
And I would like the give Google a good reason to continuing their support of Mozilla: a userbase.
I'm most familiar with the Firefox case: according to https://etherpad.mozilla.org/InfraLoadIdeas a full correctness test run across all platforms is about 120 hours of machine time. Adding performance tests raises that to 177 hours. Combined with the pace of development, that means a build+test farm of 3000+ machines (according to http://oduinn.com/blog/2013/03/27/at-mozilla-releaseengineer... ) and infrastructure load is still a problem.
So any serious project picking up Chromium development would need financial resources to at the very least maintain basic test infrastructure...
Congratulations to the tools team, I'm loving the network panel and the object inspector. And the built-in tools are so much more responsive than Firebug that I'm tempted to switch right now. There are just two things that I'm immediately missing:
1) When I log objects, Firebug prints a preview such as ["a", "b", "c"] or {foo: 1, bar: 2} to the console, whereas the built-in tools print [object Array] or [object Object] and force me to rely on the object inspector (which I'd really just like to use for very large objects, rather than every single little object).
2) I like to try out snippets of code that are longer than a single line, but I'm not a huge fan of the scratchpad (can't be docked, no autocomplete). Firebug allows the console input to toggle between single-line and multi-line, and I'd love if the built-in tools had this as well.
I'm sure I'll stumble across more differences, but the tools really are looking great. Congratulations again on coming so far in so short a time.
We're going to revamp the Console's output area fairly significantly in the next few months. Better Object output is high on the list of changes.
(you can use console.dir(object) for an inlined inspector view, or inspect(object) in the console's jsterm input line to view the object in the sidebar)
Shift-Enter turns the Console's input line into a multi-line input.
We're hoping to add autocomplete to the Scratchpad down the road too.
- It uses RGB to show colors instead of hex (I think they are working on this)
- There is no visual indication of margin/padding for the selected element on the page (it is shown in a box inside dev tools)
tl;dr: The bug is on hold until a Mozilla employee comes back from vacations.
I've given up completely on Firefox as a developer's browser ... Chrome's dev tools are better, faster - they don't crash your browser or make it unusable like Firebug.
- Chrome has this nifty feature where pressing 'Esc' in any of the dev tools brings the Web Console.
- Also, consider this use case. Let's say I enable dev tools on a page, use the Web Console, do some investigation and focus back on the page leaving the dev tools enabled. Now I want to get the focus back to Web Console, but using Ctrl-Shift-K disables the Web Console all together and I will have to re-enable it. Some key binding that brings focus back to the dev tools would be nice.
As for add-ons, most developers seem to mark comparability for future versions, so you shouldn't have to worry too much. You can always edit them to say they're compatible with the version of Firefox you're running and see if they have issues.
We're going to be adding edit support to the Debugger soon.
Say you have..
<div>
In any other tools you can double click it and press tab to add an attribute. Most have a right click option to edit as well. With firefox this simple task isn't possible. So adding a class to the above element requires you to at least add class="" to the element...