Bug 308890
| Summary: | Web Inspector: Site Isolation: Network domain getResponseBody and process-qualified RequestId | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Blaze Burg <bburg> |
| Component: | Web Inspector | Assignee: | Blaze Burg <bburg> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bburg, inspector-bugzilla-changes, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 307975 | ||
| Bug Blocks: | 310250, 310251, 315308 | ||
Blaze Burg
Implement Network.getResponseBody by routing the request from ProxyingNetworkAgent (UIProcess) to the correct WebProcess's NetworkAgentProxy, which looks up the resource in BackendResourceDataStore and returns content. As part of this work, process-qualify RequestId to prevent collisions across WebProcesses.
Work items:
- Process-qualify RequestId by prepending process identifier (e.g., "<processId>-<resourceId>") to prevent ResourceLoaderIdentifier collisions across WebProcesses under OOPIF
- IPC message from UIProcess to WebProcess (reverse direction from events)
- BackendResourceDataStore content retrieval (getTextContent / getBase64Content)
- Process routing: determine which WebProcess owns a given requestId
- Content eviction policy (maximumResourcesContentSize)
- Handle case where WebProcess has crashed (content lost)
Radar cross-reference: rdar://143782685 (per-domain Network SI radar)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/171758262>
Blaze Burg
Pull request: https://github.com/WebKit/WebKit/pull/60217
Blaze Burg
Pull request: https://github.com/WebKit/WebKit/pull/61172
EWS
Committed 313753@main (ccf6c82ad5c8): <https://commits.webkit.org/313753@main>
Reviewed commits have been landed. Closing PR #61172 and removing active labels.