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

Issue 119357: Make Array.sort safely generic on JSObject types. Fix bug 346 http://code.go... (Closed)

Created:
11 years, 6 months ago by William Hesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Make Array.sort safely generic on JSObject types. Fix bug 346 http://code.google.com/p/v8/issues/detail?id=346 Committed: http://code.google.com/p/v8/source/detail?r=2133

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -21 lines) Patch
M src/array.js View 1 2 chunks +63 lines, -0 lines 0 comments Download
M src/objects.h View 3 chunks +5 lines, -6 lines 0 comments Download
M src/objects.cc View 1 2 chunks +8 lines, -6 lines 0 comments Download
M test/mjsunit/array-sort.js View 6 chunks +29 lines, -9 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
William Hesse
Test case from bug 346 will also be added to unit tests. http://codereview.chromium.org/119357/diff/1/2 File src/objects.cc ...
11 years, 6 months ago (2009-06-09 14:52:25 UTC) #1
William Hesse
11 years, 6 months ago (2009-06-09 14:52:38 UTC) #2
Mads Ager (chromium)
LGTM
11 years, 6 months ago (2009-06-09 16:03:31 UTC) #3
Lasse Reichstein
http://codereview.chromium.org/119357/diff/1/3 File src/array.js (right): http://codereview.chromium.org/119357/diff/1/3#newcode817 Line 817: delete obj[i]; For compatability with Safari, we should ...
11 years, 6 months ago (2009-06-10 05:12:41 UTC) #4
William Hesse
Regression test added. Also fixed some comments and whitespace typos. http://codereview.chromium.org/119357/diff/1/3 File src/array.js (right): http://codereview.chromium.org/119357/diff/1/3#newcode817 ...
11 years, 6 months ago (2009-06-10 11:15:06 UTC) #5
Mads Ager (chromium)
11 years, 6 months ago (2009-06-10 11:23:46 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698