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

Issue 303793003: Make mixed content checking and CSP aware of RemoteFrames (Closed)

Created:
6 years, 6 months ago by kenrb
Modified:
6 years, 6 months ago
Reviewers:
Tom Sepez, Mike West, dcheng
CC:
blink-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, Nate Chapin, rwlbuis, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Make mixed content checking and CSP aware of RemoteFrames This CL is stubbing Blink security features that operate on frames across origins, so that they can deal with RemoteFrames being in the FrameTree. They will not yet work with cross-process frames because there is not enough information in most cases, but this allows us to put the frame infrastructure in place before we implement cross-process information sharing to correct the relevant behavior. BUG=346764 R=mkwst@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175084

Patch Set 1 #

Total comments: 12

Patch Set 2 : Improved comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -34 lines) Patch
M Source/core/dom/Document.h View 3 chunks +3 lines, -2 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 8 chunks +22 lines, -12 lines 0 comments Download
M Source/core/fetch/ResourceFetcher.cpp View 2 chunks +14 lines, -8 lines 0 comments Download
M Source/core/frame/Location.cpp View 1 chunk +5 lines, -2 lines 0 comments Download
M Source/core/frame/csp/CSPDirectiveList.cpp View 1 chunk +3 lines, -2 lines 1 comment Download
M Source/core/loader/DocumentLoader.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 3 chunks +9 lines, -6 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
kenrb
Tom: this is an intermediate change for making CSP and mixed content checking work with ...
6 years, 6 months ago (2014-05-28 17:57:59 UTC) #1
Tom Sepez
+mike
6 years, 6 months ago (2014-05-28 21:12:59 UTC) #2
dcheng
Given that we need SandboxFlags and SecurityOrigin, I wonder if it makes sense to just ...
6 years, 6 months ago (2014-05-28 22:37:19 UTC) #3
Mike West
This looks pretty reasonable, thanks! What web-visible impact will it have today? Do we already ...
6 years, 6 months ago (2014-05-29 09:47:41 UTC) #4
kenrb
Thanks for the review, Mike. In the current state of things, RemoteFrames are not instantiated ...
6 years, 6 months ago (2014-05-29 13:38:40 UTC) #5
Mike West
Got it. Sounds reasonable; the FIXMEs scare me a little bit, but I'm TOTALLY SURE ...
6 years, 6 months ago (2014-05-29 15:31:06 UTC) #6
kenrb
The CQ bit was checked by kenrb@chromium.org
6 years, 6 months ago (2014-05-29 15:34:57 UTC) #7
kenrb
The CQ bit was unchecked by kenrb@chromium.org
6 years, 6 months ago (2014-05-29 15:35:00 UTC) #8
kenrb
The CQ bit was checked by kenrb@chromium.org
6 years, 6 months ago (2014-05-29 15:35:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/303793003/20001
6 years, 6 months ago (2014-05-29 15:36:24 UTC) #10
kenrb
The CQ bit was unchecked by kenrb@chromium.org
6 years, 6 months ago (2014-05-29 20:51:03 UTC) #11
kenrb
The CQ bit was checked by kenrb@chromium.org
6 years, 6 months ago (2014-05-29 20:51:10 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/303793003/20001
6 years, 6 months ago (2014-05-29 20:53:41 UTC) #13
dcheng
For similar changes for HTMLFrameOwnerElement, I've failed open for now (because otherwise we'd never load ...
6 years, 6 months ago (2014-05-29 21:45:27 UTC) #14
kenrb
In general I think you are right, but I would prefer to fail closed on ...
6 years, 6 months ago (2014-05-29 22:23:14 UTC) #15
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 00:47:40 UTC) #16
Message was sent while issue was closed.
Change committed as 175084

Powered by Google App Engine
This is Rietveld 408576698