Split cache: For PlzDedicatedWorker, walk up frame tree to compute NIK.
We walk up the render frame tree via RenderFrameHostImpl::GetParent() and then use GetLastCommittedOrigin() of the frame tree's root as top-frame origin for the network isolation key. This change is to address a potential race condition where the root frame tree node may have been now associated with a different document. Bug: 986167 Change-Id: I9196f70939f82c6c9ac62d5828329688db97bac7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1741644 Commit-Queue: Cammie Smith Barnes <cammie@chromium.org> Reviewed-by:Matt Falkenhagen <falken@chromium.org> Reviewed-by:
Shivani Sharma <shivanisha@chromium.org> Cr-Commit-Position: refs/heads/master@{#686146}
Showing
Please register or sign in to comment