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

Issue 12026035: Recognize "\r\n" line endings in base::JSONParser to report correct line numbers in errors (Closed)

Created:
7 years, 11 months ago by 方觉(Fang Jue)
Modified:
7 years, 10 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Recognize "\r\n" (Windows) line endings in base::JSONParser so that line numbers in error reports won't confuse users. BUG=167424 TEST=Unit tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180625

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -3 lines) Patch
M AUTHORS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M base/json/json_parser.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M base/json/json_parser_unittest.cc View 1 2 3 4 2 chunks +15 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
方觉(Fang Jue)
Please review. Thanks!
7 years, 11 months ago (2013-01-19 13:16:45 UTC) #1
Robert Sesek
https://chromiumcodereview.appspot.com/12026035/diff/6001/base/json/json_parser.cc File base/json/json_parser.cc (right): https://chromiumcodereview.appspot.com/12026035/diff/6001/base/json/json_parser.cc#newcode408 base/json/json_parser.cc:408: if ( !(*pos_ == '\n' && pos_ > start_pos_ ...
7 years, 11 months ago (2013-01-22 18:38:01 UTC) #2
not at google - send to devlin
Have you signed the CLA?
7 years, 11 months ago (2013-01-23 01:16:59 UTC) #3
Robert Sesek
On Jan 22, 2013 8:16 PM, <kalman@chromium.org> wrote: > > Have you signed the CLA? ...
7 years, 11 months ago (2013-01-23 03:52:02 UTC) #4
方觉(Fang Jue)
Thank you for your review! On 2013/01/22 18:38:01, rsesek wrote: > base/json/json_parser.cc:408: if ( !(*pos_ ...
7 years, 11 months ago (2013-01-23 04:10:04 UTC) #5
not at google - send to devlin
Cool, sorry for the interruption.
7 years, 11 months ago (2013-01-23 05:12:20 UTC) #6
Robert Sesek
LGTM On 2013/01/23 04:10:04, 方觉 wrote: > Thank you for your review! > > On ...
7 years, 11 months ago (2013-01-23 19:34:32 UTC) #7
方觉(Fang Jue)
darin: friendly ping.
7 years, 10 months ago (2013-01-31 13:35:46 UTC) #8
Robert Sesek
+mark for OWNERS
7 years, 10 months ago (2013-02-04 16:06:19 UTC) #9
Mark Mentovai
https://chromiumcodereview.appspot.com/12026035/diff/12001/AUTHORS File AUTHORS (right): https://chromiumcodereview.appspot.com/12026035/diff/12001/AUTHORS#newcode222 AUTHORS:222: 方觉 <fangjue23303@gmail.com> Can you add an ASCII-friendly version of ...
7 years, 10 months ago (2013-02-04 17:41:00 UTC) #10
方觉(Fang Jue)
Thanks for your review! On 2013/02/04 17:41:00, Mark Mentovai wrote: > https://chromiumcodereview.appspot.com/12026035/diff/12001/AUTHORS > File AUTHORS ...
7 years, 10 months ago (2013-02-05 01:56:00 UTC) #11
Mark Mentovai
The next one should be the winner. https://chromiumcodereview.appspot.com/12026035/diff/22001/AUTHORS File AUTHORS (right): https://chromiumcodereview.appspot.com/12026035/diff/22001/AUTHORS#newcode222 AUTHORS:222: 方觉(Fang Jue) ...
7 years, 10 months ago (2013-02-05 02:13:38 UTC) #12
方觉(Fang Jue)
On 2013/02/05 02:13:38, Mark Mentovai wrote: > The next one should be the winner. > ...
7 years, 10 months ago (2013-02-05 02:28:40 UTC) #13
Mark Mentovai
LGTM
7 years, 10 months ago (2013-02-05 02:41:36 UTC) #14
方觉(Fang Jue)
On 2013/02/05 02:41:36, Mark Mentovai wrote: > LGTM Could you please pass it to the ...
7 years, 10 months ago (2013-02-05 03:37:04 UTC) #15
Mark Mentovai
When you’re ready to commit, just hit the “commit” checkbox on the code review site. ...
7 years, 10 months ago (2013-02-05 04:05:24 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fangjue23303@gmail.com/12026035/29001
7 years, 10 months ago (2013-02-05 04:08:32 UTC) #17
commit-bot: I haz the power
7 years, 10 months ago (2013-02-05 07:31:51 UTC) #18
Message was sent while issue was closed.
Change committed as 180625

Powered by Google App Engine
This is Rietveld 408576698