Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1388)

Issue 2058013002: Array.prototype.slice should only normalize result if it's an array (Closed)

Created:
4 years, 6 months ago by adamk
Modified:
4 years, 6 months ago
Reviewers:
Camillo Bruni
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Array.prototype.slice should only normalize result if it's an array R=cbruni@chromium.org BUG=chromium:618788 Committed: https://crrev.com/56ea2f973133a26998f6ba2cc1fb35a0fa679835 Cr-Commit-Position: refs/heads/master@{#36955}

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M src/js/array.js View 1 chunk +1 line, -1 line 1 comment Download
A + test/mjsunit/regress/regress-crbug-618788.js View 1 chunk +4 lines, -1 line 4 comments Download

Messages

Total messages: 13 (2 generated)
adamk
4 years, 6 months ago (2016-06-10 08:59:00 UTC) #1
adamk
https://codereview.chromium.org/2058013002/diff/1/src/js/array.js File src/js/array.js (right): https://codereview.chromium.org/2058013002/diff/1/src/js/array.js#newcode732 src/js/array.js:732: %NormalizeElements(deleted_elements); I should put the same guard here, but ...
4 years, 6 months ago (2016-06-10 09:00:19 UTC) #2
Camillo Bruni
https://codereview.chromium.org/2058013002/diff/1/test/mjsunit/regress/regress-crbug-618788.js File test/mjsunit/regress/regress-crbug-618788.js (right): https://codereview.chromium.org/2058013002/diff/1/test/mjsunit/regress/regress-crbug-618788.js#newcode8 test/mjsunit/regress/regress-crbug-618788.js:8: assertThrows(() => a.slice()); Can you convince me that we ...
4 years, 6 months ago (2016-06-10 14:04:25 UTC) #3
adamk
https://codereview.chromium.org/2058013002/diff/1/test/mjsunit/regress/regress-crbug-618788.js File test/mjsunit/regress/regress-crbug-618788.js (right): https://codereview.chromium.org/2058013002/diff/1/test/mjsunit/regress/regress-crbug-618788.js#newcode8 test/mjsunit/regress/regress-crbug-618788.js:8: assertThrows(() => a.slice()); On 2016/06/10 14:04:25, Camillo Bruni wrote: ...
4 years, 6 months ago (2016-06-10 16:33:18 UTC) #4
Camillo Bruni
https://codereview.chromium.org/2058013002/diff/1/test/mjsunit/regress/regress-crbug-618788.js File test/mjsunit/regress/regress-crbug-618788.js (right): https://codereview.chromium.org/2058013002/diff/1/test/mjsunit/regress/regress-crbug-618788.js#newcode8 test/mjsunit/regress/regress-crbug-618788.js:8: assertThrows(() => a.slice()); humm, the above code works in ...
4 years, 6 months ago (2016-06-12 12:35:45 UTC) #5
adamk
https://codereview.chromium.org/2058013002/diff/1/test/mjsunit/regress/regress-crbug-618788.js File test/mjsunit/regress/regress-crbug-618788.js (right): https://codereview.chromium.org/2058013002/diff/1/test/mjsunit/regress/regress-crbug-618788.js#newcode8 test/mjsunit/regress/regress-crbug-618788.js:8: assertThrows(() => a.slice()); On 2016/06/12 12:35:45, Camillo Bruni wrote: ...
4 years, 6 months ago (2016-06-13 12:16:21 UTC) #6
Camillo Bruni
convinced beyond reasonable doubts => LGTM
4 years, 6 months ago (2016-06-14 09:01:04 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2058013002/1
4 years, 6 months ago (2016-06-14 09:10:08 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-14 09:37:59 UTC) #10
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-14 09:38:01 UTC) #11
commit-bot: I haz the power
4 years, 6 months ago (2016-06-14 09:39:30 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/56ea2f973133a26998f6ba2cc1fb35a0fa679835
Cr-Commit-Position: refs/heads/master@{#36955}

Powered by Google App Engine
This is Rietveld 408576698