Comment #27 on issue 4137 by [email protected]: Support elements in the LookupIterator
https://code.google.com/p/v8/issues/detail?id=4137#c27

The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/028025f07e26ee7f962ff0a1ab9362868e58bac9

commit 028025f07e26ee7f962ff0a1ab9362868e58bac9
Author: verwaest <[email protected]>
Date: Sat Jun 13 11:16:00 2015

Also handle elements in *RealNamed* api methods

Apparently the *RealNamed* API methods only have named variants, but were always used by the embedder to find elements as well. We'd never find them though, since we wouldn't even look
there.

This CL ensures we check whether the name is actually an array index.

I guess for all named API functions we should assume they are used similar to o["name"] where name could also be a number... At least we should make it uniform between embedder and V8. This matches us up with their expectations for now...

BUG=v8:4137
LOG=n

Review URL: https://codereview.chromium.org/1177383004

Cr-Commit-Position: refs/heads/master@{#29008}

[modify] http://crrev.com/028025f07e26ee7f962ff0a1ab9362868e58bac9/src/api.cc [modify] http://crrev.com/028025f07e26ee7f962ff0a1ab9362868e58bac9/src/objects.cc


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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