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

Issue 699953003: Implement .fill() on typed arrays

Created:
6 years, 1 month ago by aperez
Modified:
6 years, 1 month ago
Reviewers:
wingo
CC:
v8-dev, Diego Pino, vjaquez
Project:
v8
Visibility:
Public.

Description

Implement .fill() on typed arrays BUG=v8:3578 LOG=Y

Patch Set 1 #

Total comments: 11

Patch Set 2 : Added more tests, fixed a couple of nits #

Patch Set 3 : Make .fill() work only on typed arrays, use internal slot for length #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -3 lines) Patch
M src/harmony-typedarray.js View 1 2 2 chunks +46 lines, -3 lines 0 comments Download
A test/mjsunit/harmony/typedarrays-fill.js View 1 2 1 chunk +91 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
aperez
6 years, 1 month ago (2014-11-04 21:15:14 UTC) #2
wingo
https://codereview.chromium.org/699953003/diff/1/src/harmony-typedarray.js File src/harmony-typedarray.js (right): https://codereview.chromium.org/699953003/diff/1/src/harmony-typedarray.js#newcode67 src/harmony-typedarray.js:67: var array = ToObject(this); Need a check that the ...
6 years, 1 month ago (2014-11-12 09:29:56 UTC) #3
aperez
As an extra, I will be adding also code in the test case to check ...
6 years, 1 month ago (2014-11-13 16:34:36 UTC) #4
aperez
Updated, I think we are good now to add owners to the review; PTAL.
6 years, 1 month ago (2014-11-13 16:38:11 UTC) #5
wingo
https://codereview.chromium.org/699953003/diff/1/src/harmony-typedarray.js File src/harmony-typedarray.js (right): https://codereview.chromium.org/699953003/diff/1/src/harmony-typedarray.js#newcode67 src/harmony-typedarray.js:67: var array = ToObject(this); On 2014/11/13 16:34:36, aperez wrote: ...
6 years, 1 month ago (2014-11-14 14:27:50 UTC) #6
aperez
On 2014/11/14 14:27:50, wingo wrote: > https://codereview.chromium.org/699953003/diff/1/src/harmony-typedarray.js > File src/harmony-typedarray.js (right): > > https://codereview.chromium.org/699953003/diff/1/src/harmony-typedarray.js#newcode67 > ...
6 years, 1 month ago (2014-11-14 15:27:23 UTC) #7
aperez
6 years, 1 month ago (2014-11-14 15:28:32 UTC) #8
Updated, now we should be good to go for real :)

Powered by Google App Engine
This is Rietveld 408576698