Comment #3 on issue 54 by alastairpatrick: Internal field goes missing
http://code.google.com/p/v8/issues/detail?id=54

I tracked down the problem to Context::New in api.cc. It contains this code:

   // Make sure that the global_template has a constructor.
   if (!global_template.IsEmpty()) {
     ...
     // Create a fresh template for global proxy object.
     Local<ObjectTemplate> proxy_template = ObjectTemplate::New();
     ...
     global_template = proxy_template;
   }

The provided global_template is replaced with a proxy. Unless I'm missing  
something,
the internal field count is not copied from global_template to  
proxy_template. And
should the invocation and property accessor callbacks also be copied to the  
proxy?

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to