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

Issue 2483903003: <a ping="..."> should be covered by connect-src CSP directive. (Closed)

Created:
4 years, 1 month ago by Łukasz Anforowicz
Modified:
4 years, 1 month ago
Reviewers:
Mike West
CC:
blink-reviews, chromium-reviews, gavinp+loader_chromium.org, Nate Chapin, loading-reviews_chromium.org, tyoshino+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

<a ping="..."> should be covered by connect-src CSP directive. BUG=663048 Committed: https://crrev.com/3678dd47cb4ccb61fa4281dfdcc5b92adc6c21de Cr-Commit-Position: refs/heads/master@{#430629}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Also handle ping via the switch in ContentSecurityPolicy::allowRequest. #

Total comments: 1

Patch Set 3 : Moving the CSP check from sendPingCommon into PingLoader::sendLinkAuditPing. #

Patch Set 4 : Reverting ContentSecurityPolicy::allowRequest changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-anchor-ping.html View 1 chunk +33 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-anchor-ping-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/PingLoader.cpp View 1 2 3 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
Łukasz Anforowicz
mkwst@, can you take a look please? It turns out that before this CL, <a ...
4 years, 1 month ago (2016-11-07 21:25:49 UTC) #4
Mike West
https://codereview.chromium.org/2483903003/diff/1/third_party/WebKit/Source/core/loader/PingLoader.cpp File third_party/WebKit/Source/core/loader/PingLoader.cpp (right): https://codereview.chromium.org/2483903003/diff/1/third_party/WebKit/Source/core/loader/PingLoader.cpp#newcode423 third_party/WebKit/Source/core/loader/PingLoader.cpp:423: } This does too much, as it also ends ...
4 years, 1 month ago (2016-11-08 14:24:59 UTC) #7
Mike West
Thanks for taking a look! One comment inline.
4 years, 1 month ago (2016-11-08 14:25:12 UTC) #8
Łukasz Anforowicz
Thanks for the review. https://codereview.chromium.org/2483903003/diff/1/third_party/WebKit/Source/core/loader/PingLoader.cpp File third_party/WebKit/Source/core/loader/PingLoader.cpp (right): https://codereview.chromium.org/2483903003/diff/1/third_party/WebKit/Source/core/loader/PingLoader.cpp#newcode423 third_party/WebKit/Source/core/loader/PingLoader.cpp:423: } On 2016/11/08 14:24:59, Mike ...
4 years, 1 month ago (2016-11-08 14:38:59 UTC) #11
Mike West
LGTM, thanks.
4 years, 1 month ago (2016-11-08 15:42:07 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/2483903003/60001
4 years, 1 month ago (2016-11-08 16:04:00 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-08 16:24:37 UTC) #17
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 16:34:40 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3678dd47cb4ccb61fa4281dfdcc5b92adc6c21de
Cr-Commit-Position: refs/heads/master@{#430629}

Powered by Google App Engine
This is Rietveld 408576698