A new set of Firefox Developer Tools features
mzl.la
mzl.la
Perhaps they could make it ignore blackboxed scripts by emitting a fake event and waiting until a non-blackboxed call is made, then intercepting that call and showing that function as the actual listener? That idea falls apart of the blackboxed listener changes the state of the program, though.
Or maybe an extra argument to addEventListener that takes a reference to a function that is the "real" listener? Then libraries like jQuery would just pass the user-provided function along in their own code.
And this show why it is a bit difficult to choose what to show, among all the things from the call stack (including async stuff) that triggered something. For one thing you could possibly ignore libary code (e.g. http://www.divshot.com/blog/tips-and-tricks/ignoring-library... ) but if you have a medium to big SPA with many backbone/wreqr events, let's say, you would still need to look in the stack manually.
We have it working and will be adding it very soon. It will also be very easy for library authors to add their own event parsers to our tools.
My Visual Event tool makes use of that:
* https://sprymedia.co.uk/article/Visual+Event+2
* https://github.com/DataTables/VisualEvent
The end result is that, when possible (Safari and Chrome) the script will tell you where the event listener was bound.I haven't looked into it, but I presume the Firefox dev tools are using information directly from the DOM, since they have access to that. But there is no public interface in DOM to get the event listeners for a node, which I cursed at the time, but in retrospect it makes the above possible.
Outside developer tools Firefox is missing HTML5 directoryReader support and Chrome style screen sharing neither which are in standards, but really really helpful for developers.
http://dev.w3.org/2009/dap/file-system/file-dir-sys.html#the...
See also: https://bugzilla.mozilla.org/show_bug.cgi?id=997471
If you have a test case and steps to reproduce, please file a bug! We can't usually fix the bugs we don't know about.
Thanks for all the amazing work though! nothing beats the visual tools and network traces in Firefox.
For crashes, definitely submitting the crash report found in about:crashes helps a ton.
Checking the browser console for an error message + stack and pasting that in a bug + description of bad behavior can be useful.
Finally, in extreme cases you can enable all the devtools logging[0] and then run firefox while piping stdout into a log file. This is a firehose of information, but it should hopefully point to the part of the code base that is misbehaving.
[0] https://wiki.mozilla.org/DevTools/Hacking#Enabling_DevTools_...
[1] - https://bugzilla.mozilla.org/show_bug.cgi?id=156435#c52
https://chrome.google.com/webstore/detail/editthiscookie/fng...
Granted, it's not an actual panel in the toolbox, but it gets the job done.
(This isn't meant to contradict your point—you were obviously using an arbitrary example—just thought you should know).
If anyone's aware of how, I'd like to know how to do this in Safari web inspector.
Try it out: Specify a font not on your system. Chrome will show you that font while Firefox will tell you what fallback is being uses.
Chrome will show the truly rendered font from your system - the full name, even (i.e. Verdana Italic).
I've taken a quick screen capture, where I've followed your steps by requesting a non-existent font and causing Chrome to fall back:
http://i.imgur.com/C6IJyF6.png
FYI, I'm using Chrome on OS X..
Version 38.0.2107.3 dev (64-bit)