问题
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