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

Issue 146623009: Fix spec violations in JSON.stringify wrt replacer array. (Closed)

Created:
6 years, 10 months ago by Yang
Modified:
6 years, 9 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix spec violations in JSON.stringify wrt replacer array. R=verwaest@chromium.org BUG=v8:3135 LOG=Y Committed: https://code.google.com/p/v8/source/detail?r=19266

Patch Set 1 #

Patch Set 2 : reupload #

Total comments: 1

Patch Set 3 : addressed comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -0 lines) Patch
M src/json.js View 1 2 1 chunk +15 lines, -0 lines 2 comments Download
A test/mjsunit/regress-3135.js View 1 2 1 chunk +53 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Yang
6 years, 10 months ago (2014-02-11 09:19:13 UTC) #1
Toon Verwaest
https://codereview.chromium.org/146623009/diff/60001/src/json.js File src/json.js (right): https://codereview.chromium.org/146623009/diff/60001/src/json.js#newcode218 src/json.js:218: // Replace with something better if this becomes a ...
6 years, 10 months ago (2014-02-11 10:14:10 UTC) #2
Toon Verwaest
6 years, 10 months ago (2014-02-11 10:44:16 UTC) #3
Toon Verwaest
lgtm
6 years, 10 months ago (2014-02-11 10:44:30 UTC) #4
Yang
Committed patchset #3 manually as r19266 (presubmit successful).
6 years, 10 months ago (2014-02-11 10:45:46 UTC) #5
arv (Not doing code reviews)
https://codereview.chromium.org/146623009/diff/110001/src/json.js File src/json.js (right): https://codereview.chromium.org/146623009/diff/110001/src/json.js#newcode221 src/json.js:221: if (IS_STRING(item) && !(item in seen_properties)) { Is this ...
6 years, 9 months ago (2014-03-04 19:54:54 UTC) #6
arv (Not doing code reviews)
We still have a failure in the JSC inherited layout test. I've identified the failing ...
6 years, 9 months ago (2014-03-04 20:04:23 UTC) #7
arv (Not doing code reviews)
6 years, 9 months ago (2014-03-04 22:42:17 UTC) #8
Message was sent while issue was closed.
On 2014/03/04 20:04:23, arv wrote:
> We still have a failure in the JSC inherited layout test. I've identified the
> failing case and I'll create a patch for it.
> 
> https://codereview.chromium.org/146623009/diff/110001/src/json.js
> File src/json.js (right):
> 
> https://codereview.chromium.org/146623009/diff/110001/src/json.js#newcode221
> src/json.js:221: if (IS_STRING(item) && !(item in seen_properties)) {
> We are not handling IS_OBJECT correctly here.
> 
> http://people.mozilla.org/%7Ejorendorff/es6-draft.html#sec-json.stringify
> 
> 4. Else if Type(v) is Object then,
>   a. If v has a [[StringData]] or [[NumberData]] internal slot, then let item
be
> ToString(v).

I took care of this in https://codereview.chromium.org/187053003/

Powered by Google App Engine
This is Rietveld 408576698