Bug 287450

Summary: [Site Isolation] Main frame navigation to a site loaded in a child frame should not reuse message receivers
Product: WebKit Reporter: Charlie Wolfe <charliew>
Component: WebKit Process ModelAssignee: Charlie Wolfe <charliew>
Status: RESOLVED FIXED    
Severity: Normal CC: nham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Charlie Wolfe
Reported 2025-02-10 17:58:05 PST
Currently, if the main frame navigates to a site that is already loaded in a child frame, ProvisionalPageProxy reuses the remote page’s message receiver and page identifier. This cannot work when we need to cache the iframe’s page that is being navigated away from. Reusing the message receiver and page’s main frame is only necessary when a new window is opened, so we should restrict this behavior to that case.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-02-10 17:58:17 PST
Charlie Wolfe
Comment 2 2025-02-10 18:00:46 PST
EWS
Comment 3 2025-02-11 10:29:01 PST
Committed 290219@main (cbe8887ec479): <https://commits.webkit.org/290219@main> Reviewed commits have been landed. Closing PR #40384 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.