RESOLVED FIXED 155478
Web Inspector: No way to see a path to a root for instances in the Heap Snapshot content view
https://bugs.webkit.org/show_bug.cgi?id=155478
Summary Web Inspector: No way to see a path to a root for instances in the Heap Snaps...
Joseph Pecoraro
Reported 2016-03-14 17:22:48 PDT
* SUMMARY Show path from root to instances in the Heap Snapshot content view. When hovering the @1234 object identifier in the UI, show a popover that displays the shortest path from the root (typically Window) to the instance. When looking for leaks, this is an important way to understand exactly why the object is being kept alive.
Attachments
[PATCH] Proposed Fix (31.24 KB, patch)
2016-03-14 18:45 PDT, Joseph Pecoraro
no flags
[IMAGE] Simple Path (79.52 KB, image/png)
2016-03-14 18:46 PDT, Joseph Pecoraro
no flags
[IMAGE] More Complex Path (104.73 KB, image/png)
2016-03-14 18:46 PDT, Joseph Pecoraro
no flags
[PATCH] Proposed Fix (31.31 KB, patch)
2016-03-14 18:52 PDT, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2016-03-14 17:24:26 PDT
Joseph Pecoraro
Comment 2 2016-03-14 18:45:37 PDT
Created attachment 274063 [details] [PATCH] Proposed Fix
Joseph Pecoraro
Comment 3 2016-03-14 18:46:04 PDT
Created attachment 274064 [details] [IMAGE] Simple Path
Joseph Pecoraro
Comment 4 2016-03-14 18:46:27 PDT
Created attachment 274065 [details] [IMAGE] More Complex Path
Joseph Pecoraro
Comment 5 2016-03-14 18:47:16 PDT
The images were taken when I was using an eye icon. That is no longer accurate, I switched to just hovering the object-id, @1234, to get the popover.
Joseph Pecoraro
Comment 6 2016-03-14 18:52:02 PDT
Created attachment 274066 [details] [PATCH] Proposed Fix Rebaselined.
Timothy Hatcher
Comment 7 2016-03-14 21:10:03 PDT
Comment on attachment 274066 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=274066&action=review > Source/WebInspectorUI/UserInterface/Models/HeapSnapshotRootPath.js:120 > + let component = this._canPropertyNameBeDotAccess(propertyName) ? "." + propertyName : "[" + doubleQuotedString(propertyName) + "]"; Slick. > Source/WebInspectorUI/UserInterface/Views/HeapSnapshotInstancesContentView.css:130 > + white-space: pre; Why pre?
WebKit Commit Bot
Comment 8 2016-03-14 22:02:15 PDT
Comment on attachment 274066 [details] [PATCH] Proposed Fix Clearing flags on attachment: 274066 Committed r198196: <http://trac.webkit.org/changeset/198196>
WebKit Commit Bot
Comment 9 2016-03-14 22:02:19 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.