Bug 308897

Summary: Web Inspector: Site Isolation: Page domain bootstrap script injection
Product: WebKit Reporter: Blaze Burg <bburg>
Component: Web InspectorAssignee: 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
Reported 2026-02-28 11:55:30 PST
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
Radar WebKit Bug Importer
Comment 1 2026-03-04 22:05:34 PST
Note You need to log in before you can comment on or make changes to this bug.