Re: [v8-users] InternalFieldCount seems to be ignored when ConstructorBehavior is kThrow

2016-11-28 Thread Jochen Eisinger
could you file a bug including a repro at crbug.com/v8/new please? thanks -jochen On Sat, Nov 26, 2016 at 2:14 AM wrote: > When I set the constructor behavior on my FunctionTemplate to kThrow > (instead of the default kAllow), then create an object from the template > using

[v8-users] InternalFieldCount seems to be ignored when ConstructorBehavior is kThrow

2016-11-25 Thread tblodt
When I set the constructor behavior on my FunctionTemplate to kThrow (instead of the default kAllow), then create an object from the template using InstanceTemplate()->NewInstance(), it seems like the InternalFieldCount on the InstanceTemplate is ignored, and the object that gets created has 0