[webkit-reviews] review denied: [Bug 77434] Web Inspector: show percent along with absolute counts in heap snapshots : [Attachment 124950] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 2 04:12:00 PST 2012


Pavel Feldman <pfeldman at chromium.org> has denied alexeif at chromium.org's request
for review:
Bug 77434: Web Inspector: show percent along with absolute counts in heap
snapshots
https://bugs.webkit.org/show_bug.cgi?id=77434

Attachment 124950: Patch
https://bugs.webkit.org/attachment.cgi?id=124950&action=review

------- Additional Comments from Pavel Feldman <pfeldman at chromium.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=124950&action=review


> Source/WebCore/inspector/front-end/DetailedHeapshotGridNodes.js:297
> +	   if (view.showPercents) {

nit: view._showPercentage

> Source/WebCore/inspector/front-end/DetailedHeapshotGridNodes.js:796
> +	   data["sizeDelta"] = this._signForDelta(this._sizeDelta) +
Number.withThousandsSeparator(Math.abs(this._sizeDelta));

Why did this change? You should prefer message format to the concatenation.

> Source/WebCore/inspector/front-end/DetailedHeapshotView.js:203
> +	   count: { title: WebInspector.UIString("Objects Count"), width:
"90px", sortable: true },

you should add this new string to the English.lproj/localizedStrings.js

> Source/WebCore/inspector/front-end/DetailedHeapshotView.js:299
> +	   sizeDelta: { title: "Size Delta", width: "72px", sortable: true }

ditto

> Source/WebCore/inspector/front-end/DetailedHeapshotView.js:1094
> +	       this.percentButton.title = WebInspector.UIString("Hide
percentages of counts and sizes.");

ditto

> Source/WebCore/inspector/front-end/DetailedHeapshotView.js:1097
> +	       this.percentButton.title = WebInspector.UIString("Show
percentages of counts and sizes.");

ditto


More information about the webkit-reviews mailing list