New features for Inspector’s JavaScript Object Panel

Bug 272906
“No power. So I rewired it!” — Tim Allen
Please bang away on the demo and give me your feedback. Find bugs in the demo? Comment to the main bug. Think the UI stinks? Comment to the main bug. Have other ideas for features? Comment to the main bug.
If you just want a direct link, try out the new, improved, mostly-working DOM Inspector JavaScript Object Viewer.
One neat feature is that, at least for now, you can manually reset the subject of the viewer (what the target is). Try this in your Mozilla location bar with the demo loaded:
javascript:viewer.subject = window;
I know I’ve asked if eval() is evil() in chrome before, but in the context of DOM Inspector and this object viewer, I don’t think that matters too much. You have to be pretty knowledgeable to trick someone into breaking their computer with this.
On a side note, I think this might be powerful enough to be a standalone chrome application. If enough people like it, I’d probably fork it off to a chrome://objectviewer/content/ URI, and have DOM Inspector use it as an overlay. (Although even I have to admit I’d have to see a lot of demand from the community for mozilla.org to justify it.)

One thought on “New features for Inspector’s JavaScript Object Panel”

  1. That’s pretty cool. You should make it batch the updates when you sort, but I just looked at the source, and I don’t think you can unless you’re using a custom tree view (as opposed to the content view)
    (From Alex: Ping me by e-mail. I don’t understand what updates you’re referring to. 🙂 )

Comments are closed.