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

Issue 835753002: Implement ES6 Array.prototype.toString behind --harmony-tostring (Closed)

Created:
5 years, 11 months ago by caitp (gmail)
Modified:
5 years, 11 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

ES6 Array.prototype.toString falls back on Object.prototype.toString if method "join" is not callable. BUG=v8:3793 LOG=Y R=dslomov@chromium.org, arv@chromium.org Committed: https://crrev.com/12af28309a125acfe428e8cbbe2a1754d6b87f07 Cr-Commit-Position: refs/heads/master@{#26253}

Patch Set 1 #

Patch Set 2 : Fallback on harmony ObjectToString, rather than NoSideEffectsObjectToString #

Total comments: 5

Patch Set 3 : Simplify CL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -17 lines) Patch
M src/array.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/harmony-tostring.js View 2 1 chunk +1 line, -1 line 0 comments Download
A + test/mjsunit/es6/array-tostring.js View 1 2 8 chunks +39 lines, -15 lines 0 comments Download
M test/mjsunit/es6/object-tostring.js View 2 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
caitp (gmail)
The bug turned out to be invalid, but there's a little typo fixup, so I ...
5 years, 11 months ago (2015-01-03 15:31:59 UTC) #1
caitp (gmail)
On 2015/01/03 15:31:59, caitp wrote: > The bug turned out to be invalid, but there's ...
5 years, 11 months ago (2015-01-03 15:58:50 UTC) #2
arv (Not doing code reviews)
https://codereview.chromium.org/835753002/diff/20001/src/harmony-tostring.js File src/harmony-tostring.js (right): https://codereview.chromium.org/835753002/diff/20001/src/harmony-tostring.js#newcode45 src/harmony-tostring.js:45: if (IS_ARRAY(this) && this.join === ArrayJoin) { It looks ...
5 years, 11 months ago (2015-01-12 15:46:40 UTC) #4
caitp (gmail)
https://codereview.chromium.org/835753002/diff/20001/src/harmony-tostring.js File src/harmony-tostring.js (right): https://codereview.chromium.org/835753002/diff/20001/src/harmony-tostring.js#newcode52 src/harmony-tostring.js:52: return %_CallFunction(O, ObjectToStringHarmony); On 2015/01/12 15:46:40, arv wrote: > ...
5 years, 11 months ago (2015-01-12 15:53:16 UTC) #5
Dmitry Lomov (no reviews)
lgtm
5 years, 11 months ago (2015-01-23 13:20:44 UTC) #7
arv (Not doing code reviews)
LGTM
5 years, 11 months ago (2015-01-23 14:50:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/835753002/40001
5 years, 11 months ago (2015-01-23 14:58:38 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 11 months ago (2015-01-23 15:21:35 UTC) #11
commit-bot: I haz the power
5 years, 11 months ago (2015-01-23 15:21:54 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/12af28309a125acfe428e8cbbe2a1754d6b87f07
Cr-Commit-Position: refs/heads/master@{#26253}

Powered by Google App Engine
This is Rietveld 408576698