Bug 307121
| Summary: | [Site Isolation] Back navigation fails when page contains iframe that navigated cross-site. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Basuke Suzuki <basuke> |
| Component: | New Bugs | Assignee: | Basuke Suzuki <basuke> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Basuke Suzuki
When Site Isolation is enabled, back navigation incorrectly targets a cross-site iframe instead of the main frame when the iframe had previously navigated to a different site.
Reproduction with Site Isolation enabled:
1. Load Page A (site A) with same-site iframe C (site A)
2. iframe navigates cross-site: C → D (site B)
3. Main frame navigates: Page A → Page B (same site with A)
4. Call goBack()
Expected behavior:
- goBack() should navigate the main frame back to Page A with page D in iframe
Actual behavior:
- page C is displayed in iframe
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Basuke Suzuki
rdar://169754535
Basuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/58023
EWS
Committed 307081@main (5fa8be5b7960): <https://commits.webkit.org/307081@main>
Reviewed commits have been landed. Closing PR #58023 and removing active labels.