Chromium Code Reviews
DescriptionMake SecurityContext available in RemoteFrames.
With OOPIF, many security checks need to access SecurityContexts of RemoteFrames. This CL is the first step to make this possible. It introduces a SecurityContext accessor for Frames. LocalFrames redirect it to document(), and RemoteFrames return a new RemoteSecurityContext. A RemoteSecurityContext's origin is initialized using data replicated from the browser process, and its CSP is a default/empty policy (CSP is not replicated because it is moving to the browser process).
More information: https://docs.google.com/a/chromium.org/document/d/1Y0s76YK0ziiL8hddiFlNUyAF4hqRAGpZM8cfnnLsZPg/edit#heading=h.lrzgurbjttfm
The Chromium side of this CL is: https://codereview.chromium.org/692973005/
BUG=426512
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185684
Patch Set 1 #Patch Set 2 : Fix style #Patch Set 3 : #Patch Set 4 : #Patch Set 5 : #Patch Set 6 : #
Total comments: 13
Patch Set 7 : Review feedback from Daniel, expose securityOrigin() from WebFrame #
Total comments: 6
Patch Set 8 : More feedback from Daniel #
Total comments: 9
Patch Set 9 : Address Nasko's nits #Patch Set 10 : Switch WebFrame::securityOrigin to use toCoreFrame #Patch Set 11 : Remove WebSecurityOrigin::createUnique #Patch Set 12 : Rebase #
Messages
Total messages: 20 (4 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||