On Tue, Feb 10, 2015 at 9:14 AM, Jason Orendorff <jorendo...@mozilla.com> wrote:
> On Tue, Feb 10, 2015 at 10:27 AM, Jason Hill <jamesjasonh...@gmail.com> > wrote: > > > 1 - Is it possible to update an object properties created on the JS land > ? > > What I need to do is that setting private data / data slot into any > Object > > created on the JS land. > > > > It is possible to store per-object information (in a WeakMap), but it's not > possible to get a list of every object created by JS code, or get a > callback every time an object is created. (If I'm wrong about this someone > will correct me...) > You can also get a list of every reachable object with `Debugger.prototype.findObjects` >:) https://developer.mozilla.org/en-US/docs/Tools/Debugger-API/Debugger#Function_Properties_of_the_Debugger_Prototype_Object _______________________________________________ dev-tech-js-engine-internals mailing list dev-tech-js-engine-internals@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals