DescriptionTypedArray.prototype.set uses internal length property, not real one.
TypedArrays store their true length in an internal slot. This is
normally reflected in the .length property, but that property is
configurable. Algorithms which need the length of a typed array are to
use the internal slot, not the property; TypedArray.prototype.set was
not doing this.
BUG=v8:5133
Committed: https://crrev.com/9f2a18b729d604b27f7aa1ce6bf44e1452690baa
Cr-Commit-Position: refs/heads/master@{#37232}
Patch Set 1 #
Total comments: 2
Patch Set 2 : shorter lines #
Messages
Total messages: 12 (5 generated)
|