Bug 308897
| Summary: | Web Inspector: Site Isolation: Page domain bootstrap script injection | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Blaze Burg <bburg> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | inspector-bugzilla-changes, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 306075 | ||
| Bug Blocks: | |||
Blaze Burg
Page.setBootstrapScript must forward the script to all WebProcesses for injection via didClearWindowObjectInWorld. New OOPIF WebProcesses must also receive the script.
Work items:
- ProxyingPageAgent stores script and forwards to all WebProcesses via IPC
- PageAgentProxy::didClearWindowObjectInWorld evaluates stored bootstrap script
- New WebProcesses receive bootstrap script on creation
- Handle timing: script must be pre-cached in WebProcess to avoid IPC latency race
Radar cross-reference: rdar://157031522
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/171780781>