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

Issue 2556713002: Embedding-CSP: Ports subsumption (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

Embedding-CSP: Ports subsumption When we check for subsumption, we need to make sure that even if ports are different but are defaults for the specified protocols, we return correct result. Consider: A = http://example.com:80 B = https://example.com:443 Then A subsumes B. Moreover, A is similar to B and their intersection should be `https://example.com:443`. BUG=647588 Committed: https://crrev.com/9881be66406b729bfa518c4aaf54430ed5bc0683 Cr-Commit-Position: refs/heads/master@{#436916}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Adding a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -4 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/embeddedEnforcement/subsumption_algorithm-general.html View 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/csp/CSPSource.cpp View 1 2 chunks +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/csp/CSPSourceTest.cpp View 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (12 generated)
amalika
https://codereview.chromium.org/2556713002/diff/1/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp File third_party/WebKit/Source/core/frame/csp/CSPSource.cpp (right): https://codereview.chromium.org/2556713002/diff/1/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp#newcode159 third_party/WebKit/Source/core/frame/csp/CSPSource.cpp:159: m_scheme.length() > other->m_scheme.length()) By this point, we know that ...
4 years ago (2016-12-06 09:29:13 UTC) #2
Mike West
LGTM % nit. Thanks! https://codereview.chromium.org/2556713002/diff/1/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp File third_party/WebKit/Source/core/frame/csp/CSPSource.cpp (right): https://codereview.chromium.org/2556713002/diff/1/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp#newcode159 third_party/WebKit/Source/core/frame/csp/CSPSource.cpp:159: m_scheme.length() > other->m_scheme.length()) On 2016/12/06 ...
4 years ago (2016-12-06 13:41:09 UTC) #3
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/2556713002/20001
4 years ago (2016-12-07 11:40:50 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-07 11:45:08 UTC) #15
commit-bot: I haz the power
4 years ago (2016-12-07 11:47:19 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9881be66406b729bfa518c4aaf54430ed5bc0683
Cr-Commit-Position: refs/heads/master@{#436916}

Powered by Google App Engine
This is Rietveld 408576698