On 2014/08/01 15:51:31, Toon Verwaest wrote:
For exactly this reason we are thinking of introducing a new kind of
interceptor
that always first does a local lookup. This patch is a limited version of the
reverse, so I'd oppose to landing it.

yes, I originally chosen that method for the compatibility purpose. I also
thought of the partial interceptor, just interceptor name without real name, but it need some change with the v8 api, for an example: add a flag in an new api
  bool SetAccessor(Handle<String> name,
                   AccessorGetterCallback getter,
                   AccessorSetterCallback setter = 0,
                   Handle<Value> data = Handle<Value>(),
                   AccessControl settings = DEFAULT,
                   PropertyAttribute attribute = None,
bool partialInterceptor);  // Not interceptor if has realName




https://codereview.chromium.org/414213002/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" 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.

Reply via email to