Comment #1 on issue 4128 by [email protected]: TypedArray methods should use InternalArray, not Array, as an accumulator
https://code.google.com/p/v8/issues/detail?id=4128

I have a patch working to use InternalArray rather than GlobalArray in Array.from (I think that's the only remaining case) but I'm at a loss to test it. Your setter wouldn't be called because Array.from uses [[DefineOwnProperty]], not [[Put]]. My other idea would be to do something with holes to observe the proto chain lookup to Array.prototype, but Array.from doesn't preserve holes, so that wouldn't be visible. Array.from does do a [[Put]] on the 'length' property, but of course that property is not configurable so I can't replace it with a setter. Any other ideas?

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