News for hackers. Stuff that matters.
Re:Firefox Dev Tools: Box model highlighter, Web Console imp... by msoad on Tuesday March 25, 2014 @01:38PM (#7467389)
Here are some features I'm missing:

    Break on attribute or subtree modification
    HTML Node drag and drop (yup! Chrome DevTools have it)
    XPath (I use it for testing)
    FPS monitor and force repaint
Re:Firefox Dev Tools: Box model highlighter, Web Console imp... by bgrins on Tuesday March 25, 2014 @01:42PM (#7467426)
Thanks for the info. What are you wanting to do with xpath? The console supports the $x function, like $x("//body"). Also, HTML node drag and drop is on the radar here: https://bugzilla.mozilla.org/show_bug.cgi?id=858038
Re:Firefox Dev Tools: Box model highlighter, Web Console imp... by msoad on Tuesday March 25, 2014 @01:52PM (#7467503)
I want to get XPath from a node. I use it in WebDriverJS.

Good to see drag and drop coming.

There was some features that I loved. It's not fair to not mention those:

    CSS autocomplete is much better than Chrome’s
    Code Editor’s Search is just amazing!
    The filter for computed CSS properties is very handy for my work
    Black Theme is great! Please make it easy to write custom themes

One little request, in console. ⌘+K should clean the console.
Re:Firefox Dev Tools: Box model highlighter, Web Console imp... by bgrins on Tuesday March 25, 2014 @02:09PM (#7467644)
I've filed https://bugzilla.mozilla.org/show_bug.cgi?id=987877 for adding a Copy XPath menu item in the inspector
Re:Firefox Dev Tools: Box model highlighter, Web Console imp... by skybrian on Tuesday March 25, 2014 @06:16PM (#7469582)
A long time ago I wrote a Firefox plugin to get an XPath:

https://addons.mozilla.org/en-US/firefox/addon/xpath-checker...

It's open source, so perhaps you could reuse the code from WebDriver:

https://code.google.com/p/xpathchecker/

Re:Firefox Dev Tools: Box model highlighter, Web Console imp... by mihai_sucan on Tuesday March 25, 2014 @02:02PM (#7467595)
We have Ctrl-L for clear output.
Re:Firefox Dev Tools: Box model highlighter, Web Console imp... by sim0n on Tuesday March 25, 2014 @03:15PM (#7468204)
⌘+K is consistent across other apps on OS X (e.g. Terminal)
Re:Firefox Dev Tools: Box model highlighter, Web Console imp... by ptx on Tuesday March 25, 2014 @06:03PM (#7469462)
But ^L is also consistent with Terminal, across all platforms, at least in bash and other programs that use readline. :)
Re:Firefox Dev Tools: Box model highlighter, Web Console imp... by mihai_sucan on Tuesday March 25, 2014 @03:19PM (#7468235)
We've had long discussions and arguing over cmd-k, ctrl-L, and all the shortcuts we could use. cmd-k takes over the search field focus.

This is a bitter pill: any shortcut we choose is a different kind of 'wrong'.

Re:Firefox Dev Tools: Box model highlighter, Web Console imp... by nwienert on Tuesday March 25, 2014 @03:49PM (#7468451)
I'd throw in a vote for cmd+k to clear
Re:Firefox Dev Tools: Box model highlighter, Web Console imp... by nawitus on Tuesday March 25, 2014 @02:07PM (#7467615)
I'm missing localStorage inspecting and editing. (If it's already there, please tell where :), I haven't really used Firefox developer tools much).
Re:Firefox Dev Tools: Box model highlighter, Web Console imp... by bgrins on Tuesday March 25, 2014 @02:23PM (#7467746)
A storage inspector is not part of the tools yet. Some of the functionality for this has landed, but the frontend is still being worked on here: https://bugzilla.mozilla.org/show_bug.cgi?id=970517.
Re:Firefox Dev Tools: Box model highlighter, Web Console imp... by proexploit on Tuesday March 25, 2014 @02:17PM (#7467701)
In the console you can type: inspect(localStorage)
Re:Firefox Dev Tools: Box model highlighter, Web Console imp... by nawitus on Tuesday March 25, 2014 @03:25PM (#7468281)
Thanks, but that's not usable enough for me.