Bug 308894
| Summary: | Web Inspector: Site Isolation: Network domain interception | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Blaze Burg <bburg> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| 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: | |||
Blaze Burg
Request/response interception requires synchronous-ish coordination between UIProcess and WebProcess. The WebProcess must pause the network load until the frontend responds via the UIProcess.
Work items:
- Add interception hooks to NetworkAgentInstrumentation interface
- Forward setInterceptionEnabled, addInterception, removeInterception to WebProcesses
- Implement interceptContinue, interceptWithRequest, interceptWithResponse as UIProcess-to-WebProcess commands
- NetworkAgentProxy must hold pending requests until UIProcess resolves them
- Handle process crashes gracefully (avoid deadlocks)
Radar cross-reference: rdar://143782685
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/171758110>