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

Issue 17572009: Update typed arrays behavior to match ES6 rev 15. Remove TO_POSITIVE_INTEGER and throw on negative … (Closed)

Created:
7 years, 6 months ago by Dmitry Lomov (no reviews)
Modified:
7 years, 6 months ago
Reviewers:
rossberg
CC:
v8-dev
Visibility:
Public.

Description

Update typed arrays behavior to match ES6 rev 15. Remove TO_POSITIVE_INTEGER and throw on negative length arguments. R=rossberg@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15298

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : CR feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -57 lines) Patch
M src/arraybuffer.js View 1 2 2 chunks +7 lines, -4 lines 0 comments Download
M src/macros.py View 1 chunk +0 lines, -1 line 0 comments Download
M src/messages.js View 1 chunk +5 lines, -3 lines 0 comments Download
M src/runtime.js View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M src/typedarray.js View 1 2 22 chunks +56 lines, -25 lines 0 comments Download
M test/mjsunit/harmony/dataview-accessors.js View 1 2 chunks +3 lines, -5 lines 0 comments Download
M test/mjsunit/harmony/typedarrays.js View 1 2 5 chunks +10 lines, -18 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Dmitry Lomov (no reviews)
PTAL
7 years, 6 months ago (2013-06-24 11:21:37 UTC) #1
rossberg
The pattern of doing TO_INTEGER and then testing for negative now occurs all over the ...
7 years, 6 months ago (2013-06-24 12:36:02 UTC) #2
Dmitry Lomov (no reviews)
Good suggestions, all addressed. Also changed ArrayBuffer.prototype.slice to accept fin < first and return empty ...
7 years, 6 months ago (2013-06-24 13:34:46 UTC) #3
rossberg
lgtm
7 years, 6 months ago (2013-06-24 13:43:43 UTC) #4
Dmitry Lomov (no reviews)
7 years, 6 months ago (2013-06-24 13:59:02 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r15298 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698