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

Issue 7084023: Correctly set the length of string before creating filler object in the json parser (fixes crbug ... (Closed)

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

Description

Correctly set the length of string before creating filler object in the json parser (fixes crbug 84186). Testcase created based on the supplied test case from the bug report, but using json parse directly instead of through the chrome javascript console. Committed: http://code.google.com/p/v8/source/detail?r=8089

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -0 lines) Patch
M src/json-parser.cc View 1 chunk +1 line, -0 lines 0 comments Download
A test/mjsunit/regress/regress-crbug-84186.js View 1 chunk +41 lines, -0 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
Rico
9 years, 6 months ago (2011-05-29 18:00:02 UTC) #1
Mads Ager (chromium)
9 years, 6 months ago (2011-05-30 05:52:15 UTC) #2
LGTM

http://codereview.chromium.org/7084023/diff/1/test/mjsunit/regress/regress-cr...
File test/mjsunit/regress/regress-crbug-84186.js (right):

http://codereview.chromium.org/7084023/diff/1/test/mjsunit/regress/regress-cr...
test/mjsunit/regress/regress-crbug-84186.js:28: // Test that the expected string
is parsed in the json parser when the lenght
length

Powered by Google App Engine
This is Rietveld 408576698