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

Issue 8773028: Allow extenions to override the default content_security_policy, but require (Closed)

Created:
9 years ago by abarth-chromium
Modified:
9 years ago
Reviewers:
Aaron Boodman
CC:
chromium-reviews, Erik does not do reviews, mihaip+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Allow extenions to override the default content_security_policy, but require the explicit policy to meet a minimum security threshold. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112656

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 8

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+246 lines, -7 lines) Patch
M chrome/chrome_common.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/csp_validator.h View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/common/extensions/csp_validator.cc View 1 2 3 1 chunk +123 lines, -0 lines 0 comments Download
A chrome/common/extensions/csp_validator_unittest.cc View 1 2 3 1 chunk +74 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 3 chunks +12 lines, -6 lines 0 comments Download
M chrome/test/data/extensions/api_test/content_security_policy/manifest.json View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
abarth-chromium
This patch isn't yet ready for review, but I thought I should send you a ...
9 years ago (2011-12-02 00:41:56 UTC) #1
abarth-chromium
Ok. This is now ready for review.
9 years ago (2011-12-02 01:34:35 UTC) #2
Aaron Boodman
http://codereview.chromium.org/8773028/diff/7001/chrome/common/extensions/csp_validator.cc File chrome/common/extensions/csp_validator.cc (right): http://codereview.chromium.org/8773028/diff/7001/chrome/common/extensions/csp_validator.cc#newcode43 chrome/common/extensions/csp_validator.cc:43: StartsWithASCII(source, "chrome://", true) || Why chrome://? http://codereview.chromium.org/8773028/diff/7001/chrome/common/extensions/csp_validator.cc#newcode53 chrome/common/extensions/csp_validator.cc:53: bool ...
9 years ago (2011-12-02 05:51:42 UTC) #3
Aaron Boodman
http://codereview.chromium.org/8773028/diff/7001/chrome/common/extensions/csp_validator.h File chrome/common/extensions/csp_validator.h (right): http://codereview.chromium.org/8773028/diff/7001/chrome/common/extensions/csp_validator.h#newcode11 chrome/common/extensions/csp_validator.h:11: namespace extension_csp_validator { On 2011/12/02 05:51:42, Aaron Boodman wrote: ...
9 years ago (2011-12-02 05:52:20 UTC) #4
abarth-chromium
> Why chrome://? It's needed by the Bookmark Manager. It's also harmless because the "chrome" ...
9 years ago (2011-12-02 07:01:56 UTC) #5
abarth-chromium
Patch updated. Thanks for your review.
9 years ago (2011-12-02 07:16:24 UTC) #6
Aaron Boodman
LGTM \m/
9 years ago (2011-12-02 07:25:09 UTC) #7
abarth-chromium
On 2011/12/02 07:25:09, Aaron Boodman wrote: > LGTM \m/ Thanks!
9 years ago (2011-12-02 07:37:43 UTC) #8
commit-bot: I haz the power
9 years ago (2011-12-02 07:37:58 UTC) #9

Powered by Google App Engine
This is Rietveld 408576698