Bug 302643

Summary: Mark AuxiliaryProcessProxy::fromConnection as nullable
Product: WebKit Reporter: adrian_taylor
Component: WebKit Process ModelAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: nham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

adrian_taylor
Reported 2025-11-17 08:30:09 PST
Upcoming work will build a CoreIPC receiver in Swift, and it's likely to call AuxiliaryProcessProxy::fromConnection. We therefore need to annotate this function to indicate whether its return value is nullable (it is; the weak reference may no longer be valid). This is in fact the only WebKit API which needs to be so annotated, based on current prototypes of the CoreIPC receiver.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-11-17 08:30:17 PST
adrian_taylor
Comment 2 2025-11-17 08:31:43 PST
EWS
Comment 3 2025-11-19 05:13:03 PST
Committed 303248@main (e8002401c67d): <https://commits.webkit.org/303248@main> Reviewed commits have been landed. Closing PR #54051 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.