DescriptionRequire a process ID when looking up RFHs by FrameTreeNode ID.
This helps avoid security bugs where callers store a FrameTreeNode ID
and later assume it is for the same RenderFrameHost. However, a
cross-process navigation may have taken place, leading to a higher or
lower privileged page.
Because extension APIs use the old approach, the previous API is left
as an unsafe option, with comments encouraging callers to avoid it.
BUG=715541
TEST=No behavior change.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Review-Url: https://codereview.chromium.org/2856653004
Cr-Commit-Position: refs/heads/master@{#469410}
Committed: https://chromium.googlesource.com/chromium/src/+/f71a263681dc50097672cc55e0204c7b0e789a48
Patch Set 1 #
Total comments: 1
Patch Set 2 : Add comment. #
Total comments: 4
Patch Set 3 : Remove GetParentFtnId. #
Total comments: 2
Patch Set 4 : Update comment. #
Total comments: 4
Patch Set 5 : Fix bug #Patch Set 6 : Rebase #Patch Set 7 : Simplify ExtNavThrottle #
Total comments: 2
Messages
Total messages: 40 (26 generated)
|