https://codereview.chromium.org/26709011/diff/1/src/api.cc
File src/api.cc (right):

https://codereview.chromium.org/26709011/diff/1/src/api.cc#newcode4126
src/api.cc:4126: func->LookupRealNamedProperty(*property_name, &lookup);
On 2013/10/16 14:57:52, Yury Semikhatsky wrote:
Should we count displayName property declared on prototype?

I think we should. And this code does look up on prototypes.

FYI, quick reference:

void JSObject::LookupRealNamedProperty(Name* name, LookupResult* result)
{
  LocalLookupRealNamedProperty(name, result);
  if (result->IsFound()) return;

  LookupRealNamedPropertyInPrototypes(name, result);
}

https://codereview.chromium.org/26709011/

--
--
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/groups/opt_out.

Reply via email to