Issue 53: Internal fields behave strangely on objects from a template http://code.google.com/p/v8/issues/detail?id=53
New issue report by nicolas.alvarez: Handle<ObjectTemplate> template = ObjectTemplate::New(); template->SetInternalFieldCount(1); Handle<Object> obj = template->NewInstance(); std::cout << obj->InternalFieldCount() << std::endl; // outputs 0 This doesn't happen when the object is created from a FunctionTemplate (a constructor). CGamesPlay on IRC found that adding an accessor to the template magically makes the internal field count fix itself; but I didn't test this myself. Issue attributes: Status: New Owner: ---- -- 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 v8-dev@googlegroups.com http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---