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 Inspector | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Qianlang Chen
Pull request: https://github.com/WebKit/WebKit/pull/60596
EWS
Committed 309357@main (2878ab233c05): <https://commits.webkit.org/309357@main>
Reviewed commits have been landed. Closing PR #60596 and removing active labels.