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

Issue 2528423002: Part 3.5: Is policy list subsumed under subsuming policy? (Closed)

Created:
4 years ago by amalika
Modified:
4 years ago
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Part 3.5: Is policy list subsumed under subsuming policy? This is part of an experimental feature Embedding-CSP. Here we add support for `none` source lists. Note that normalized returned CSP might not explicitly declare `none`, but with contradictory sources can allow effectively `none`. For example if the secure origin is `http://google.com`: Content-Security-Policy: script-src 'self' Content-Security-Policy: script-src https://example.test/ then it should be subsumed by the Embedding-CSP that is : Content-Security-Policy: script-src 'none' BUG=647588 Committed: https://crrev.com/82f74b025438d88016d67f1d27b7ffca1d149dac Cr-Commit-Position: refs/heads/master@{#436270}

Patch Set 1 #

Patch Set 2 : more test cases #

Patch Set 3 : Rebasing #

Total comments: 1

Patch Set 4 : Renaming + adding a test #

Patch Set 5 : Rebasing #

Patch Set 6 : Debugging #

Patch Set 7 : Removing debugging #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -10 lines) Patch
M third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp View 1 2 3 4 2 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/csp/CSPDirectiveListTest.cpp View 1 2 3 4 5 6 2 chunks +105 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/csp/SourceListDirective.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp View 1 2 3 4 2 chunks +8 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/csp/SourceListDirectiveTest.cpp View 1 2 3 4 2 chunks +38 lines, -6 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 26 (19 generated)
amalika
4 years ago (2016-11-30 09:39:54 UTC) #4
Mike West
LGTM % nit. https://codereview.chromium.org/2528423002/diff/80001/third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp File third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp (right): https://codereview.chromium.org/2528423002/diff/80001/third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp#newcode106 third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp:106: bool SourceListDirective::allowNone() const { Please add ...
4 years ago (2016-11-30 10:32:29 UTC) #6
amalika
Renaming + adding a test
4 years ago (2016-11-30 11:57:48 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2528423002/140001
4 years ago (2016-12-02 17:08:33 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2528423002/180001
4 years ago (2016-12-05 12:47:46 UTC) #22
commit-bot: I haz the power
Committed patchset #7 (id:180001)
4 years ago (2016-12-05 12:52:40 UTC) #24
commit-bot: I haz the power
4 years ago (2016-12-05 12:54:32 UTC) #26
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/82f74b025438d88016d67f1d27b7ffca1d149dac
Cr-Commit-Position: refs/heads/master@{#436270}

Powered by Google App Engine
This is Rietveld 408576698