Bug 310043

Summary: [Site Isolation] Web Inspector: Need to report preserved WebFrameProxies as new frame targets after cross-origin page navigation
Product: WebKit Reporter: Qianlang Chen <qianlangchen>
Component: Web InspectorAssignee: Qianlang Chen <qianlangchen>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Qianlang Chen
Reported 2026-03-16 13:01:23 PDT
Frame targets' lifetime is bound to the WebFrameProxy. During a cross-origin page navigation, as much of the page's structure will be preserved alongside the WebFrameProxies, and they merely get assigned new web processes rather than being destroyed and recreated with the new page. This means we need to recreate them as frame targets after the navigation clears out all sub targets in the web page as we can't rely on the new WebFrameProxy code path rdar://172326572
Attachments
Qianlang Chen
Comment 1 2026-03-16 13:20:20 PDT
EWS
Comment 2 2026-03-16 16:45:51 PDT
Committed 309357@main (2878ab233c05): <https://commits.webkit.org/309357@main> Reviewed commits have been landed. Closing PR #60596 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.