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

Issue 2530343006: CSP: "local schemes" should inherit policy when window.opened. (Closed)

Created:
4 years ago by Mike West
Modified:
4 years ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CSP: "local schemes" should inherit policy when window.opened. https://w3c.github.io/webappsec-csp/#initialize-document-csp mandates that resources with "local schemes" ('data:', 'blob:', 'filesystem:', 'about:') inherit the policy of their opening context when opened via things like 'window.open'. We're not doing that, but we ought to. BUG=669086 R=jochen@chromium.org Committed: https://crrev.com/e598765e4822eac833a547abca92ce87a1287dc0 Cr-Commit-Position: refs/heads/master@{#435233}

Patch Set 1 #

Total comments: 2

Patch Set 2 : feedback #

Messages

Total messages: 17 (12 generated)
Mike West
jochen@, dcheng@: mind taking a look at this follow-on to the other CL you're reviewing?
4 years ago (2016-11-29 11:22:53 UTC) #4
dcheng
lgtm with nits https://codereview.chromium.org/2530343006/diff/1/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2530343006/diff/1/third_party/WebKit/Source/core/dom/Document.cpp#newcode5517 third_party/WebKit/Source/core/dom/Document.cpp:5517: if (m_frame && m_frame->tree().parent()) Random musing: ...
4 years ago (2016-11-29 22:37:23 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/2530343006/20001
4 years ago (2016-11-30 12:32:43 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-11-30 12:37:13 UTC) #15
commit-bot: I haz the power
4 years ago (2016-11-30 12:39:00 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e598765e4822eac833a547abca92ce87a1287dc0
Cr-Commit-Position: refs/heads/master@{#435233}

Powered by Google App Engine
This is Rietveld 408576698