Bug 308897

Summary: Web Inspector: Site Isolation: Page domain bootstrap script injection
Product: WebKit Reporter: Blaze Burg <bburg>
Component: Web InspectorAssignee: Basuke Suzuki <basuke>
Status: RESOLVED FIXED    
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
Basuke Suzuki
Comment 2 2026-10-08 15:44:32 PDT
EWS
Comment 3 2026-10-13 08:58:32 PDT
Committed 323585@main (ec3d95f1d71b): <https://commits.webkit.org/323585@main> Reviewed commits have been landed. Closing PR #76392 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.