Chrome Heap Snapshot — no colors for detached nodes

安稳与你 提交于 2019-12-12 12:37:21

问题


I'm following this tutorial under "Discover detached DOM tree memory leaks with Heap Snapshots".

When I search for detached nodes, I see a bunch of "Detached" elements. But when I expand them, none of the contained elements are red or yellow, as described in the tutorial.

Has this behavior changed? I'm using 70.0.3538.77 for Mac.


回答1:


Following this proposal, the color coding was replaced by icons with tooltips:

JS object that is reachable from window
Was: yellow highlight
Now: icon of a small window

DOM object that is detached from the tree
Was: red highlight
Now: icon with a pair of scissors



来源:https://stackoverflow.com/questions/53109488/chrome-heap-snapshot-no-colors-for-detached-nodes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!