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

Issue 562034: Updated JSON.stringify to newest version of ES5. (Closed)

Created:
10 years, 10 months ago by Lasse Reichstein
Modified:
9 years, 6 months ago
Reviewers:
Rico
CC:
v8-dev
Visibility:
Public.

Description

Updated JSON.stringify to newest version of ES5.

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -12 lines) Patch
M src/json-delay.js View 6 chunks +23 lines, -10 lines 0 comments Download
M test/mjsunit/json.js View 3 chunks +20 lines, -2 lines 4 comments Download

Messages

Total messages: 3 (0 generated)
Lasse Reichstein
Small tweak in JSON.stringify.
10 years, 10 months ago (2010-02-03 12:12:15 UTC) #1
Rico
LGMT http://codereview.chromium.org/562034/diff/1/3 File test/mjsunit/json.js (right): http://codereview.chromium.org/562034/diff/1/3#newcode298 test/mjsunit/json.js:298: Maybe check for stringify on an array with ...
10 years, 10 months ago (2010-02-03 12:57:22 UTC) #2
Lasse Reichstein
10 years, 10 months ago (2010-02-03 13:18:29 UTC) #3
http://codereview.chromium.org/562034/diff/1/3
File test/mjsunit/json.js (right):

http://codereview.chromium.org/562034/diff/1/3#newcode298
test/mjsunit/json.js:298: 
Check added for behavior of undefined and functions in both arrays and objects.

http://codereview.chromium.org/562034/diff/1/3#newcode299
test/mjsunit/json.js:299: assertThrows("var a = [];a[0] = a;JSON.stringify(a);",
TypeError);
We do. Removed.

Powered by Google App Engine
This is Rietveld 408576698