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

Issue 6451002: Fix bug in JSON.parse for objects containing "__proto__" as key. (Closed)

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

Description

Fix bug in JSON.parse for objects containing "__proto__" as key. It added the __proto__ key as a normal key, which made it visible in enumeration, while reading still hit the hard-coded accessor. Committed: http://code.google.com/p/v8/source/detail?r=6674

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -0 lines) Patch
M src/parser.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M test/mjsunit/json.js View 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Lasse Reichstein
9 years, 10 months ago (2011-02-08 11:31:26 UTC) #1
Mads Ager (chromium)
9 years, 10 months ago (2011-02-08 11:32:48 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698