WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
77801
Web Inspector: get rid of cycles in retaining tree
https://bugs.webkit.org/show_bug.cgi?id=77801
Summary
Web Inspector: get rid of cycles in retaining tree
Ilya Tikhonovsky
Reported
2012-02-03 20:19:26 PST
%subj%
Attachments
Patch
(4.19 KB, patch)
2012-02-03 20:22 PST
,
Ilya Tikhonovsky
yurys
: review+
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
the patch that was actually landed
(5.46 KB, patch)
2012-02-04 04:47 PST
,
Ilya Tikhonovsky
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Ilya Tikhonovsky
Comment 1
2012-02-03 20:22:01 PST
Created
attachment 125473
[details]
Patch
WebKit Review Bot
Comment 2
2012-02-03 20:55:45 PST
Comment on
attachment 125473
[details]
Patch
Attachment 125473
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/11418649
New failing tests: inspector/profiler/detailed-heapshots-summary-expansion-preserved-when-sorting.html inspector/profiler/detailed-heapshots-comparison-expansion-preserved-when-sorting.html
Yury Semikhatsky
Comment 3
2012-02-03 22:31:30 PST
Comment on
attachment 125473
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=125473&action=review
> Source/WebCore/inspector/front-end/DetailedHeapshotGridNodes.js:380 > + while (ancestor) {
We may stop if the parentGridNode already has _cycledWithAncestorGridNode set.
> Source/WebCore/inspector/front-end/DetailedHeapshotGridNodes.js:388 > + WebInspector.HeapSnapshotGenericObjectNode.prototype._updateHasChildren.call(this);
Please remvoe leading underscore from _updateHasChildren method name since you override it, by the convention only private methods should start with _.
> Source/WebCore/inspector/front-end/DetailedHeapshotGridNodes.js:-444 > - prefixSpan.textContent = WebInspector.UIString("retained by ");
Please mention this UI change in the changelog.
> Source/WebCore/inspector/front-end/DetailedHeapshotGridNodes.js:458 > + if (this._cycledWithAncestorGridNode) {
We need some UI for navigating to the first occurrence of the node in the ancesors chain but this can be done in a separate patch.
Ilya Tikhonovsky
Comment 4
2012-02-04 02:20:24 PST
Committed
r106738
: <
http://trac.webkit.org/changeset/106738
>
Ilya Tikhonovsky
Comment 5
2012-02-04 04:47:58 PST
Created
attachment 125492
[details]
the patch that was actually landed
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug