DevTools: add retainers command line API |
|
Issue description
Chrome Version: ToT
What steps will reproduce the problem?
(1) var a = {}; var b = {a: a}; retainers(a);
What is the expected result?
retainers(a) call dumps in console all retainers of object a, in the example case it is window and b.
It can be useful as extension for queryObjects API. I think we should add a little button to every queryObjects result object and call it something like "dump all retainers", by click user will get array of all objects which has direct link to given object.
|
|
►
Sign in to add a comment |
|
Comment 1 by kozy@chromium.org
, Sep 25