Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't reject same site prefetches with no-referrer
The referring URL as computed by the referrer policy for the prefetch request was incorrectly being used to determine whether a prefetch was cross site. This value is only meant to be used for the prefetch request. The omission of the URL made it look like a cross site prefetch, so the cookie eligibility check was applied. We now use the initiating origin to determine whether a prefetch is cross site. Bug: 1524338 Change-Id: Id154effae55c539fff7cd733327fc9029c53b03a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5263133 Commit-Queue: Kevin McNee <[email protected]> Reviewed-by: Liviu Tinta <[email protected]> Cr-Commit-Position: refs/heads/main@{#1256905}
- Loading branch information