On Monday, December 26, 2011 5:14:36 AM UTC+1, Chase wrote:
>
> Hello, I have searched around a bit and I haven't seen anything about 
> this, but I was wondering if there is any way to view the userdata 
> [https://developer.mozilla.org/En/DOM/Node.setUserData] set on an 
> element/node (such as in the Watch pane of the Script tab, or in the 
> DOM tab). I realize this can be achieved to an extent using the 
> console (element.getUserData('key')), but it would be very helpful in 
> debugging if I didn't have to know all the keys of an element's 
> userData to see if it is set/what value is set. 
>
If this isn't currently possible, is there any way that I can help 
> implement it? I am not an expert with Firefox extensions, but if it 
> were possible to get at the underlying data I wouldn't mind studying 
> up to help get it working. (I also understand there might not be a 
> strong use case for this in general, so forgive me if my eagerness is 
> unjustified). 
>
I like that idea. The only question is how to get all user data and keys
for specified element?

If I understand the current API correctly, you always need to have a key
to access the data. So, Firebug needs a way to get all these keys...

Honza

 

>
> If I just plain old overlooked somewhere this might already exist, a 
> pointer would be appreciated! 
> Thanks, 
> Chase

-- 
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug

Reply via email to