DescriptionAdd %TypedArray% to proto chain
According to the ES6 spec, the main methods and getters shouldn't
be properties of the individual TypedArray objects and prototypes
but instead on %TypedArray% and %TypedArray%.prototype. This
difference is observable through introspection. This patch moves
some methods and getters to the proper place, with the exception
of %TypedArray%.prototype.subarray and harmony methods. These will
be moved in follow-on patches.
BUG=v8:4085
LOG=Y
R=adamk
Committed: https://crrev.com/a10590158260737b256fac3254b4939f48f90095
Cr-Commit-Position: refs/heads/master@{#29057}
Patch Set 1 #
Total comments: 20
Patch Set 2 : extend to harmony methods #Patch Set 3 : fix adam's issues #
Total comments: 16
Patch Set 4 : Update for %_IsTypedArray #Patch Set 5 : fix some of arv's issues #
Total comments: 4
Patch Set 6 : changes from arv's review #
Messages
Total messages: 16 (3 generated)
|