Bug 309645
| Summary: | REGRESSION(300558@main): Sometimes referrer is missing after PSON | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | New Bugs | Assignee: | Ryosuke Niwa <rniwa> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ryosuke Niwa
300558@main introduced a regression. That commit made `ProvisionalPageProxy` copy the previous
main frame's `effectiveReferrerPolicy` when creating the new main frame during PSON. This caused
the opener's no-referrer policy to persist through cross-origin navigations indefinitely, rather than being
reset on each process swap. As a result, once you visit a page with no-referrer policy, we end up
inheriting that policy across multiple PSON transitions.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
<rdar://169006635>
Ryosuke Niwa
Pull request: https://github.com/WebKit/WebKit/pull/60337
roberto_rodriguez2
Pull request: https://github.com/WebKit/WebKit/pull/60539
EWS
Committed 309382@main (42cc8781b1c3): <https://commits.webkit.org/309382@main>
Reviewed commits have been landed. Closing PR #60539 and removing active labels.