• littledan's avatar
    Throw the right exceptions from setting elements in Array.prototype.concat · 7acee1ef
    littledan authored
    This patch fixes two bugs in Array.prototype.concat in conjunction with
    subclassing Arrays:
    - Create a new property rather than calling Set when adding elements to
      the output array. This means setters are not called.
    - If there is an exception thrown from DefineProperty, propagate it
      outwards properly, rather than swallowing it. This can occur, e.g., with
      a Proxy as the new output array.
    
    R=adamk
    LOG=Y
    BUG=chromium:595319
    
    Review URL: https://codereview.chromium.org/1814933002
    
    Cr-Commit-Position: refs/heads/master@{#34876}
    7acee1ef
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...
perf.gyp Loading commit data...
perf.isolate Loading commit data...