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

Issue 3277005: Follow Safari and Firefox in returning empty array from array splice... (Closed)

Created:
10 years, 3 months ago by Mads Ager (chromium)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Follow Safari and Firefox in returning empty array from array splice with no arguments. Committed: http://code.google.com/p/v8/source/detail?r=5375

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -20 lines) Patch
M src/array.js View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
M src/builtins.cc View 1 2 1 chunk +3 lines, -6 lines 0 comments Download
M test/mjsunit/array-splice.js View 1 2 1 chunk +1 line, -6 lines 0 comments Download
M test/mjsunit/third_party/array-splice-webkit.js View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Mads Ager (chromium)
10 years, 3 months ago (2010-08-30 06:23:00 UTC) #1
Rico
Drive by. http://codereview.chromium.org/3277005/diff/4001/5001 File src/array.js (left): http://codereview.chromium.org/3277005/diff/4001/5001#oldcode572 src/array.js:572: // compatibility. As far as I can ...
10 years, 3 months ago (2010-08-30 06:33:21 UTC) #2
antonm
I agree with Rico: apparently both Safari and FF just started to follow ECMA-262, so ...
10 years, 3 months ago (2010-08-30 12:07:25 UTC) #3
Mads Ager (chromium)
Thanks, please have another look. Comments removed and condition removed from the JS code. Regarding ...
10 years, 3 months ago (2010-08-30 15:07:19 UTC) #4
antonm
10 years, 3 months ago (2010-08-30 15:12:04 UTC) #5
LGTM and thanks a lot for fixing it.

Powered by Google App Engine
This is Rietveld 408576698