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

Issue 11348209: Fix JSON.stringify for objects with interceptor handlers. (Closed)

Created:
8 years, 1 month ago by Yang
Modified:
8 years, 1 month ago
Reviewers:
ulan_google, ulan
CC:
v8-dev
Visibility:
Public.

Description

Fix JSON.stringify for objects with interceptor handlers. BUG=161028 Committed: https://code.google.com/p/v8/source/detail?r=13041

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -33 lines) Patch
M src/json-stringifier.h View 3 chunks +2 lines, -33 lines 0 comments Download
M test/cctest/test-accessors.cc View 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Yang
This replaces v8::internal::BasicJsonStringifier::GetProperty with v8::internal::GetProperty. The former does a LookupRealNamedProperty, which fails for interceptor keys. ...
8 years, 1 month ago (2012-11-23 12:19:44 UTC) #1
ulan_google
8 years, 1 month ago (2012-11-23 12:24:20 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698