On Thursday, August 7, 2014 at 3:52:53 PM UTC-7, Ben Noordhuis wrote: > > On Fri, Aug 8, 2014 at 12:10 AM, Flying Jester <foolki...@gmail.com > <javascript:>> wrote: > > What precisely is the difference between using SetAccessor and > > SetNativeDataProperty? > > Nothing, as far as I know. The order of arguments is different but > they have identical implementations. > They are not exactly the same... I've been using SetNativeDataProperty, which works for getters, but when i started to use it for a setter, V8 ended up setting a property on the object instead of calling the setter. Changing to SetAccessor allows the setter to be called correctly.
And while I realize this is a very old thread; it's about the only one that shows up for 'SetNativeDataProperty vs SetAccessor' I can't find any other information that would indicate that setnativedataproperty shouldn't or doesn't work; other than my code. -- -- v8-users mailing list v8-users@googlegroups.com 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 v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.