DescriptionMake %TypedArray%.from spec-compliant
This patch fixes %TypedArray%.from to follow the ES2016 draft spec
more precisely. Specifically, the input is first converted to an
ArrayLike, and then afterwards, the mapping function is run and the
results written into the TypedArray. This fixes a test262 test.
R=adamk
LOG=Y
BUG=v8:4782
Committed: https://crrev.com/2765a0609a8aed612a3e34d9f9897d9ec7fc969e
Cr-Commit-Position: refs/heads/master@{#34373}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Construct array result better #
Messages
Total messages: 17 (6 generated)
|