[webkit-reviews] review denied: [Bug 31207] Web Inspector: Datatip should be a tree : [Attachment 42693] proposed patch 2
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Nov 7 07:26:19 PST 2009
Pavel Feldman <pfeldman at chromium.org> has denied Keishi Hattori
<casey.hattori at gmail.com>'s request for review:
Bug 31207: Web Inspector: Datatip should be a tree
https://bugs.webkit.org/show_bug.cgi?id=31207
Attachment 42693: proposed patch 2
https://bugs.webkit.org/attachment.cgi?id=42693&action=review
------- Additional Comments from Pavel Feldman <pfeldman at chromium.org>
>
WebInspector.panels.scripts.evaluateInSelectedCallFrame(expression, false,
objectGroup, callback);
> + WebInspector.datatip.clearCache();
> return;
Why is this needed? Console should not be aware of the datadip.
> + getPropertiesCallback: function(properties)
> + {
> + this.__proto__.__proto__.getPropertiesCallback.call(this,
properties);
WebInspector.ObjectPropertyTreeElement.prototype.getPropertiesCallback.call(thi
s, properties);
> +
> + this.__proto__.__proto__.expand.call(this);
ditto
>
> + getPropertiesCallback: function(properties)
> + {
This method is setting properties, why not to call it
setProperties(properties)?
> InspectorController.resumeDebugger();
> + WebInspector.datatip.clearCache();
Same here - scripts panel should not be aware of datatip. Otherwise we end up
with many bidirectional dependencies we don't need.
Shouldn't we lose focus by the time we get here.
>
> + this.datatip = new WebInspector.Datatip();
I guess it is here because of the calls above I don't like. We should get rid
of those and create datatip lazily for the sake of performance.
One more thing: I did not see any visual improvement since the last patch:
expansion is still happening to below the anchor even when the things don't
fit. And multiple overlapping paths still take place. No scrollers too. Could
you attach a screenshot?
More information about the webkit-reviews
mailing list