I found the problem. The key that I used in SetAccessor() already had an attached value within the object. Its attribute was v8::DontDelete ....
On Tuesday, July 7, 2015 at 12:22:25 PM UTC+3, Ben Noordhuis wrote: > > On Tue, Jul 7, 2015 at 7:56 AM, Danny Dorfman <[email protected] > <javascript:>> wrote: > > Hello there, > > > > I have an object that has several named accessors being set to it. > However, > > the SetAccessor() function sometimes returns false, > > and the command has no effect. Is there a way to find out the reason > behind > > the failure? I am running 3.31.1 > > > > Regards, > > Danny > > It means there's a pending exception or that the isolate is out of > memory (which also results in an exception, one that JS code can't > catch.) > -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
