mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 02:40:22 -10:00
This helps retrieving the NodeId for any JS Object you pass in. This allows identifying a particular object when using HeapSnapshot API. `HeapSnapshot.computeDominatorTree()` returns a tree of object, but there is no way to identify a given JS object in it. Getting the node id of a given JS object helps you browse this tree from a given object you know is leaking. Differential Revision: https://phabricator.services.mozilla.com/D53971