Bug 306874

Summary: Create C++ utilities and declare types required for Swift Back Forward List
Product: WebKit Reporter: adrian_taylor
Component: WebKit Process ModelAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Enhancement CC: nham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 305483    

adrian_taylor
Reported 2026-02-03 07:40:06 PST
We're creating a Swift version of the Back Forward List IPC message handler. Swift code can't always directly work with 100% of pre-existing C++ APIs, so we need to introduce a header file which simplifies some types and functions to make them accessible in Swift. Specifically, - Make lots of concrete types using statements like using VectorRefPtrAPIObject = Vector<RefPtr<Object>>; - Where Swift code would rely on C++ preprocessor macros, we need to do it in C++ instead - C++ functions to work around a couple of known Swift/C++ interop bugs. This bug represents the task of adding these functions and concrete types to call from Swift.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-02-03 07:40:11 PST
EWS
Comment 2 2026-02-05 05:51:04 PST
Committed 306864@main (c4cab0f5e07b): <https://commits.webkit.org/306864@main> Reviewed commits have been landed. Closing PR #57291 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.