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

Issue 8423079: Allow trailing comma in JSON policy files. (Closed)

Created:
9 years, 1 month ago by pastarmovj
Modified:
9 years, 1 month ago
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

Allow trailing comma in JSON policy files. This is not really part of the JSON standard but a common practice and is harmless in most of the cases so we can enable it for JSON policy files. BUG=101141 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110503

Patch Set 1 #

Patch Set 2 : Added unit testing for the whole JSONValueSerializer suite. #

Total comments: 8

Patch Set 3 : Fixed unit tests. #

Patch Set 4 : Make the tests windows friendly too. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -1 line) Patch
M base/base.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M base/json/json_value_serializer.h View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M base/json/json_value_serializer.cc View 1 chunk +1 line, -0 lines 0 comments Download
A base/json/json_value_serializer_unittest.cc View 1 2 3 1 chunk +156 lines, -0 lines 0 comments Download
M chrome/browser/policy/config_dir_policy_provider.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
pastarmovj
A tiny change to enable trailing comma in the JSON policy parser. Btw the base/json ...
9 years, 1 month ago (2011-11-03 10:13:55 UTC) #1
Mattias Nissler (ping if slow)
LGTM
9 years, 1 month ago (2011-11-03 10:31:28 UTC) #2
pastarmovj
Adding brettw for owners blessing.
9 years, 1 month ago (2011-11-03 10:35:51 UTC) #3
pastarmovj
Hi Evan, Initially I have added brettw as OWNER reviewer for my base changes because ...
9 years, 1 month ago (2011-11-08 15:35:31 UTC) #4
pastarmovj
Hi Will, I understand that Evan might also not be able to review that small ...
9 years, 1 month ago (2011-11-10 13:12:24 UTC) #5
willchan no longer on Chromium
On 2011/11/10 13:12:24, pastarmovj wrote: > Hi Will, > I understand that Evan might also ...
9 years, 1 month ago (2011-11-10 18:42:29 UTC) #6
pastarmovj
I implemented a suite of tests for JSONValueSerializer which was not present until now and ...
9 years, 1 month ago (2011-11-14 16:10:26 UTC) #7
willchan no longer on Chromium
http://codereview.chromium.org/8423079/diff/7001/base/json/json_value_serializer_unittest.cc File base/json/json_value_serializer_unittest.cc (right): http://codereview.chromium.org/8423079/diff/7001/base/json/json_value_serializer_unittest.cc#newcode7 base/json/json_value_serializer_unittest.cc:7: #include "testing/gtest/include/gtest/gtest.h" This one should get sorted among the ...
9 years, 1 month ago (2011-11-15 02:36:22 UTC) #8
pastarmovj
Made the proposed changes and added some more comments along the way. All other changes ...
9 years, 1 month ago (2011-11-17 10:35:35 UTC) #9
willchan no longer on Chromium
lgtm
9 years, 1 month ago (2011-11-17 14:34:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pastarmovj@chromium.org/8423079/15001
9 years, 1 month ago (2011-11-17 15:00:47 UTC) #11
commit-bot: I haz the power
9 years, 1 month ago (2011-11-17 16:17:25 UTC) #12
Change committed as 110503

Powered by Google App Engine
This is Rietveld 408576698