thank you for the complete explanations, it was not easy to find : a bug in firebug... difficult to imagine ;-) well done to both of you !
Benjamin ANDRE - +33 (0)6 86 25 36 66 - CozyCloud.cc<https://www.CozyCloud.cc> 2013/9/9 Simon Lindholm <[email protected]> > Yeah, I'm pretty sure it's a bug (related to that issue I linked). > > Wrapped objects are a technical term, related to privileged JavaScript in > Firefox. I suppose you could google "spidermonkey wrappers" to get further > information, but to simplify it a wrapper (at least, of this kind) is like > a shadow version of a DOM object, that behaves subtly differently, and > attempts to make it "nicer" to work with. (It is implicitly converted to a > non-wrapper when passed back to non-privileged JavaScript.) > > Den måndagen den 9:e september 2013 kl. 12:11:09 UTC+2 skrev Sebastian > Zartner: > >> Simon seems to be right with his assumption that the pale color indicates >> properties that are read-only. Here are the related code lines: >> >> https://github.com/firebug/**firebug/blob/master/extension/** >> content/firebug/dom/**domMemberProvider.js#L344<https://github.com/firebug/firebug/blob/master/extension/content/firebug/dom/domMemberProvider.js#L344> >> https://github.com/firebug/**firebug/blob/master/extension/** >> skin/classic/dom.css#L18<https://github.com/firebug/firebug/blob/master/extension/skin/classic/dom.css#L18> >> >> I added a sentence to the DOM >> panel<https://getfirebug.com/wiki/index.php/DOM_Panel#Color_Codes>reflecting >> that. >> >> Though I wonder why they are not displayed in pale color for me within >> the *DOM* side panel: >> >> >> <https://lh3.googleusercontent.com/-q1tL1YglwAM/Ui2c3Id5e7I/AAAAAAAAAJ8/ZSoprJzW8A4/s1600/readOnlyDOMPropertyValuesDisplay.jpg> >> That may be the bug here, because inside the main DOM panel the >> properties *are* displayed in light color. Simon, what do you think? >> >> Sebastian >> >> On Sunday, September 8, 2013 10:19:40 PM UTC+2, Benjamin Andre wrote: >>> >>> hum, I like the read only theory, but why when not in debugging does the >>> color become strong again ? >>> Maybe your second point explain this, but I don't understand what a >>> "wrapped object" is in this context... >>> >>> Benjamin ANDRE - +33 (0)6 86 25 36 66 - >>> CozyCloud.cc<https://www.CozyCloud.cc> >>> >>> >>> 2013/9/8 Simon Lindholm <[email protected]> >>> >>>> I *think* they might indicate that the property is readonly (has getter >>>> but no setter), and that the difference between debugging and not is >>>> whether the objects we deal with are wrapped or not (see >>>> http://code.google.com/p/fbug/**issues/detail?id=5377<http://code.google.com/p/fbug/issues/detail?id=5377>). >>>> >>>> Den söndagen den 8:e september 2013 kl. 09:01:30 UTC+2 skrev Benjamin >>>> Andre: >>>>> >>>>> I made different tries and I realized that "light colors" appears only >>>>> if you look at the dom while debugging. >>>>> It is then quite difficult to export and html file with the pb :-) >>>>> >>>>> No, realy, I don't understand the meaning of these colors... If all >>>>> properties were light it might indicates that ... the node is "fresh" ?? >>>>> (joke) >>>>> >>>>> Le dimanche 8 septembre 2013 01:21:47 UTC+2, Sebastian Zartner a >>>>> écrit : >>>>>> >>>>>> Hmm, spontaneously I'd say that's a bug. Do you have a URL and steps, >>>>>> so this can be reproduced? >>>>>> >>>>>> Sebastian >>>>>> >>>>>> On Saturday, September 7, 2013 8:13:09 PM UTC+2, Benjamin Andre wrote: >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I found the meaning of the >>>>>>> colors<https://getfirebug.com/wiki/index.php/DOM_Panel#Color_Codes>, >>>>>>> but no explanation on why the colors of dom property value is sometimes >>>>>>> "light". >>>>>>> >>>>>>> For exemple, you can see here that the property "clientWidth" is >>>>>>> light blue, whereas "hidden" is normal blue. >>>>>>> >>>>>>> >>>>>>> <https://lh4.googleusercontent.com/-e06k1MLjPeg/Uitr9L4kTLI/AAAAAAAAAEw/qFsee2Oqm7k/s1600/firebug.png> >>>>>>> >>>>>>> Any idea ? >>>>>>> >>>>>>> (this is important, this difference is the only one I found between >>>>>>> a case that works and another cas that doesn't work... :-) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "Firebug" group. >>>> To unsubscribe from this topic, visit https://groups.google.com/d/** >>>> topic/firebug/86xqlONxY6E/**unsubscribe<https://groups.google.com/d/topic/firebug/86xqlONxY6E/unsubscribe> >>>> . >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at >>>> http://groups.google.com/**group/firebug<http://groups.google.com/group/firebug> >>>> . >>>> To view this discussion on the web visit https://groups.google.com/d/** >>>> msgid/firebug/3f1f8dcf-bbf1-**4db1-a088-fdcd83cf074e%** >>>> 40googlegroups.com<https://groups.google.com/d/msgid/firebug/3f1f8dcf-bbf1-4db1-a088-fdcd83cf074e%40googlegroups.com> >>>> . >>>> For more options, visit >>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>>> . >>>> >>> >>> -- > You received this message because you are subscribed to a topic in the > Google Groups "Firebug" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/firebug/86xqlONxY6E/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/firebug. > To view this discussion on the web visit > https://groups.google.com/d/msgid/firebug/1be0ae15-db43-42f4-83fd-0da5adacb939%40googlegroups.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Firebug" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/firebug. To view this discussion on the web visit https://groups.google.com/d/msgid/firebug/CA%2BnLd%2Bu0wUMrYTiK%3DxT-dLh_4PHBH3rhj%2B2_H8yyQZqKBDGZMw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
