Reviewers: Christian Plesner Hansen, yurys, Message: I was trying to just reference the context from the script, but that leaked global objects in some of the tests.
There are still tests missing Description: Added context information to scripts. Added a simple initial version of a context mirror object which just holds the user data from the context, and does not preserve handle identity. A script object now holds a reference to the custom data from the context it was compiled in. This data is included in the debugger protocol for scripts. Changed the serialization for the scripts command to use the mirror objects instaed of custom serialization. This included passing options from the debugger request to the serializer for including the full source of scripts in the response. Please review this at http://codereview.chromium.org/111001 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/accessors.h M src/accessors.cc M src/bootstrapper.cc M src/compiler.cc M src/debug-delay.js M src/factory.cc M src/mirror-delay.js M src/objects-inl.h M src/objects.h --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
