Comment #5 on issue 2075 by [email protected]: Implement AccessorInfo.IsInstanceOf()
http://code.google.com/p/v8/issues/detail?id=2075

As far as I can consider, what the current DOM bindings need is (1) or (2).
However I am not 100% sure if there is no use cases for (3). In your
implementation, can DOM bindings switch (2) and (3) just by passing some
boolean to SetAccessor()?

Yes, something similar. If you specify a constructor (i.e. a FunctionTemplate) against which an implicit instance check should be performed when configuring the accessor with SetAccessor(), then you get (1)+(2). If you skip that parameter or pass an empty handle, then you get (3).

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to