Bug 288162
| Summary: | [Site Isolation] Session restore in a new WKWebView breaks when restoring from an existing WKWebView | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Charlie Wolfe <charliew> |
| Component: | History | Assignee: | Charlie Wolfe <charliew> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Charlie Wolfe
There's logic in WebPageProxy::goToBackForwardItem to send FrameState to the right frame process, but we didn’t check if the frame actually belonged to the current page. So, after restoring session state from another WKWebView, we could end up trying to send FrameState to a process belonging to a different page. We should make sure the frame belongs to the current page before sending IPC to its process.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/145257058>
Charlie Wolfe
Pull request: https://github.com/WebKit/WebKit/pull/41026
EWS
Committed 290832@main (5fb0bc3dd426): <https://commits.webkit.org/290832@main>
Reviewed commits have been landed. Closing PR #41026 and removing active labels.