On Mon, Jun 15, 2015 at 3:51 PM, Danny Dorfman <[email protected]> wrote: > Hi there, > > I work with V8 3.31.1. Is it possible to cancel the effect of > v8::Object::SetAccessor()? > I tried calling the SetAccessor API again with NULL values for both > getter/setter function, but this has no effect whatsoever. > The named accessor remains in effect as if nothing changed... > > Regards, > Danny
I think you should be able to override it with v8::Object::CreateDataProperty() (v8::Object::ForceSet() in older V8 versions), provided the object hasn't been frozen or the property made non-configurable. -- -- 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.
