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

Issue 2550093005: Embedding-CSP: Fixing path matching (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: Fixing path matching For example if we have "http://example.com/" and "http://example.com", then their paths should match. BUG=647588 Committed: https://crrev.com/910dbb06389a97ef582641437c3115290d5b1468 Cr-Commit-Position: refs/heads/master@{#437568}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Adding test cases #

Total comments: 1

Patch Set 3 : Adding CSPSourceTest #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -5 lines) Patch
M third_party/WebKit/Source/core/frame/csp/CSPSource.cpp View 1 2 2 chunks +4 lines, -2 lines 1 comment Download
M third_party/WebKit/Source/core/frame/csp/CSPSourceTest.cpp View 1 2 2 chunks +25 lines, -0 lines 1 comment Download
M third_party/WebKit/Source/core/frame/csp/SourceListDirectiveTest.cpp View 1 2 1 chunk +1 line, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (13 generated)
amalika
4 years ago (2016-12-07 16:07:46 UTC) #2
Mike West
LGTM % testing nit. https://codereview.chromium.org/2550093005/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/2550093005/diff/1/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp#newcode77 third_party/WebKit/Source/core/frame/csp/CSPSource.cpp:77: if (m_path.isEmpty() || (m_path == ...
4 years ago (2016-12-08 08:25:52 UTC) #3
amalika
https://codereview.chromium.org/2550093005/diff/20001/third_party/WebKit/Source/core/frame/csp/CSPSourceTest.cpp File third_party/WebKit/Source/core/frame/csp/CSPSourceTest.cpp (right): https://codereview.chromium.org/2550093005/diff/20001/third_party/WebKit/Source/core/frame/csp/CSPSourceTest.cpp#newcode199 third_party/WebKit/Source/core/frame/csp/CSPSourceTest.cpp:199: {{"http", "/", 80}, {"https", "", 443}, false, true}, This ...
4 years ago (2016-12-08 09:01:59 UTC) #4
amalika
https://codereview.chromium.org/2550093005/diff/60001/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp File third_party/WebKit/Source/core/frame/csp/CSPSource.cpp (right): https://codereview.chromium.org/2550093005/diff/60001/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp#newcode159 third_party/WebKit/Source/core/frame/csp/CSPSource.cpp:159: m_path.length() > other->m_path.length() ? m_path : other->m_path; Simplified the ...
4 years ago (2016-12-08 19:31:00 UTC) #7
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/2550093005/60001
4 years ago (2016-12-09 16:54:23 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years ago (2016-12-09 17:03:51 UTC) #17
commit-bot: I haz the power
4 years ago (2016-12-12 14:35:34 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/910dbb06389a97ef582641437c3115290d5b1468
Cr-Commit-Position: refs/heads/master@{#437568}

Powered by Google App Engine
This is Rietveld 408576698