[v8-users] Re: named property handler - getter being called for both gets and sets

2016-10-29 Thread Zac Hansen
I've added an enumerator callback. it is not called. On Saturday, October 29, 2016 at 3:33:14 AM UTC-7, Zac Hansen wrote: > > I run the following javascript: > > var p = new Point(); p.foo = 5; > > where Point creates an object from an ObjectTemplate that has > had SetHandler called on it.

[v8-users] Re: named property handler - getter being called for both gets and sets

2016-10-29 Thread Zac Hansen
I've since added a query callback and tried returning None and ReadOnly. No change. On Saturday, October 29, 2016 at 3:33:14 AM UTC-7, Zac Hansen wrote: > > I run the following javascript: > > var p = new Point(); p.foo = 5; > > where Point creates an object from an ObjectTemplate that has >

Re: [v8-users] V8 for Android undefined symbol v8::base::SysInfo::NumberOfProcessors()

2016-10-29 Thread Rodolph Perfetta
I see. I don't have experience with Android builds but have you checked the wiki: https://github.com/v8/v8/wiki/D8%20on%20Android Rodolph On Fri, 28 Oct 2016 at 22:15 ibon tolosana wrote: > Hi Rodolph, sorry, I did not explain myself properly. > I compiled for pi

[v8-users] Re: named property handler - getter being called for both gets and sets

2016-10-29 Thread Zac Hansen
I don't really understand what this means, but it seems to be choosing to call the getter because this function returns false: bool LookupIterator::HolderIsReceiverOrHiddenPrototype() const { DCHECK(has_property_ || state_ == INTERCEPTOR || state_ == JSPROXY); // Optimization that only works

[v8-users] Re: named property handler - getter being called for both gets and sets

2016-10-29 Thread Zac Hansen
I added a delete callback and when I call delete p.foo, I get no callbacks. On Saturday, October 29, 2016 at 3:33:14 AM UTC-7, Zac Hansen wrote: > > I run the following javascript: > > var p = new Point(); p.foo = 5; > > where Point creates an object from an ObjectTemplate that has > had

[v8-users] named property handler - getter being called for both gets and sets

2016-10-29 Thread Zac Hansen
I run the following javascript: var p = new Point(); p.foo = 5; where Point creates an object from an ObjectTemplate that has had SetHandler called on it. However, this calls my getter callback. Everything I've tried from javascript calls my getter callback.