• littledan's avatar
    Fix length of DataView and TypedArray get/set functions · 3f37c446
    littledan authored
    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
    
    Review URL: https://codereview.chromium.org/1636953003
    
    Cr-Commit-Position: refs/heads/master@{#33531}
    3f37c446
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
fuzzer Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
ignition.gyp Loading commit data...
ignition.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...