Change ComputeTopFrameOrigin to use GetLastCommittedOrigin
ComputeTopFrameOrigin currently uses current_origin(), which has a prominent warning about possible incorrect behavior. The function's use is likely causing incorrect Network Isolation Keys to be used. We thus use the replacement suggested by the warning. Bug: 1014077 Change-Id: Iaecbb0ab028c626dce037462bb22053b5114bc52 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1860106Reviewed-by:Alex Moshchuk <alexmos@chromium.org> Reviewed-by:
Shivani Sharma <shivanisha@chromium.org> Commit-Queue: Alex Turner <alexmt@chromium.org> Cr-Commit-Position: refs/heads/master@{#706911}
Showing
Please register or sign in to comment