DescriptionFix length of DataView and TypedArray get/set functions
Functions like DataView.prototype.getUint8 should have length 1,
and DataView.prototype.setUint8 should have length 2, as their
endianness arguments are optional. Additionally,
TypedArray.prototype.set.length should be 2. This follows the ES2015
specification, and a new test262 test tests for it. This patch
fixes the functions' lengths.
R=adamk
Committed: https://crrev.com/3f37c4462bdab880066f8b40aa9fb1fb6415accf
Cr-Commit-Position: refs/heads/master@{#33531}
Patch Set 1 #Patch Set 2 : Also fix TypedArray.prototype.set #
Messages
Total messages: 16 (7 generated)
|