[Webkit-unassigned] [Bug 27514] add support for watched expressions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 4 23:22:38 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27514





--- Comment #13 from Pavel Feldman <pfeldman at chromium.org>  2009-09-04 23:22:38 PDT ---
>> I needed more behaviour than the plain old ObjectPropertiesSection had.
>> I did try that first though; the watch expressions were keys in an 
>> object whose values were the eval()'d version of the keys.  
>> For various reasons it turned out to be too much work to make it all
>> work in the existing framework instead
>> of writing the relatively small amount of code that I did.
>> I do reuse a lot of the behaviour out of the ObjectProperties code;
>> and especially all the stuff underneath the roots of the trees - 
>> the children of the expressions themselves are 
>> ObjectPropertiesElements (or whatever).

So each watched expression is an ObjectPropertiesSection with the watched
expression as atitle and ObjectProxy value. Why doesn't it work? Try opening
console and typing "dir(document.documentElement)". You'll get
ObjectPropertySection formatted for the result. I'd like that code only to deal
with rendering objects that came from the inspected page.
InspectorController.getProperties should not be called anywhere else. Frontend
is only dealing with visual representation of stuff, it should only call it in
order to render the result and the renderer is already there.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list