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

Issue 550223002: CSP: Separate side-effects of parsing from the parsing code. (Closed)

Created:
6 years, 3 months ago by Mike West
Modified:
6 years, 3 months ago
CC:
blink-reviews
Project:
blink
Visibility:
Public.

Description

CSP: Separate side-effects of parsing from the parsing code. This patch shouldn't have any practical effect on CSP, but it will make it straightforward to separate side-effects from parsing in a future patch. BUG=411889 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181632

Patch Set 1 #

Total comments: 5

Patch Set 2 : Feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -20 lines) Patch
M Source/core/frame/csp/ContentSecurityPolicy.h View 1 5 chunks +19 lines, -7 lines 0 comments Download
M Source/core/frame/csp/ContentSecurityPolicy.cpp View 1 6 chunks +42 lines, -13 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Mike West
This depends on https://codereview.chromium.org/549163003/; I'll run it through the bots once that patch lands. WDYT? ...
6 years, 3 months ago (2014-09-08 14:47:27 UTC) #2
jochen (gone - plz use gerrit)
https://codereview.chromium.org/550223002/diff/1/Source/core/frame/csp/ContentSecurityPolicy.cpp File Source/core/frame/csp/ContentSecurityPolicy.cpp (right): https://codereview.chromium.org/550223002/diff/1/Source/core/frame/csp/ContentSecurityPolicy.cpp#newcode153 Source/core/frame/csp/ContentSecurityPolicy.cpp:153: document->setReferrerPolicy(m_referrerPolicy); should this only be done if didSetReferrerPolicy() is ...
6 years, 3 months ago (2014-09-09 08:08:34 UTC) #3
Mike West
Thanks! Mind taking another look? https://codereview.chromium.org/550223002/diff/1/Source/core/frame/csp/ContentSecurityPolicy.cpp File Source/core/frame/csp/ContentSecurityPolicy.cpp (right): https://codereview.chromium.org/550223002/diff/1/Source/core/frame/csp/ContentSecurityPolicy.cpp#newcode153 Source/core/frame/csp/ContentSecurityPolicy.cpp:153: document->setReferrerPolicy(m_referrerPolicy); On 2014/09/09 08:08:33, ...
6 years, 3 months ago (2014-09-09 09:12:02 UTC) #4
jochen (gone - plz use gerrit)
lgtm
6 years, 3 months ago (2014-09-09 09:12:49 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/550223002/20001
6 years, 3 months ago (2014-09-09 10:12:43 UTC) #7
commit-bot: I haz the power
6 years, 3 months ago (2014-09-09 11:15:43 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 181632

Powered by Google App Engine
This is Rietveld 408576698