Bug 306516

Summary: Swift Back Forward List
Product: WebKit Reporter: adrian_taylor
Component: WebKit Process ModelAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Enhancement CC: nham
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on: 306515    
Bug Blocks:    

adrian_taylor
Reported 2026-01-29 03:12:07 PST
This is an umbrella bug for the work required to build a Swift version of the Web Back Forward List. RATIONALE: WebKit wishes to use Swift to provide much stronger memory safety in its most sensitive attack surface: CoreIPC message handlers. This PR prototypes how we can convert a single, simple, message handler to Swift. In itself, converting this message handler provides negligible security benefit (in fact, rewrites usually introduce extra bugs) but having a message handler in Swift paves the way for future work - in particular, it ensures that any future new subsystems can be written in Swift rather than C++. BUILDING: By default this change has no effect. If the LocalOverride option: ENABLE_BACK_FORWARD_LIST_SWIFT=ENABLE_BACK_FORWARD_LIST_SWIFT is given, then a Swift version of the WebBackForwardList will be used. It is intended to be functionally the same as the C++ version. A recent SDK will need to be used.
Attachments
adrian_taylor
Comment 1 2026-01-29 03:13:18 PST
*** This bug has been marked as a duplicate of bug 305483 ***
Note You need to log in before you can comment on or make changes to this bug.