Bug 308743

Summary: Simplify WebKit-Swift inclusions
Product: WebKit Reporter: adrian_taylor
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

adrian_taylor
Reported 2026-02-26 05:53:17 PST
At present, when any C++ source code file uses APIs inside the Swift WebBackForwardList, it needs to #include "WebKit-Swift.h". This was because we set a policy that this file could not be included from other header files, to avoid circular dependencies between C++ <-> Swift. Experience has shown we can relax that a little, which significantly simplifies use of Swift throughout WebKit's C++ codebase.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-02-26 05:53:24 PST
adrian_taylor
Comment 2 2026-02-26 06:13:16 PST
adrian_taylor
Comment 3 2026-02-27 07:28:29 PST
EWS
Comment 4 2026-03-02 23:40:53 PST
Committed 308522@main (82fd45f40cfd): <https://commits.webkit.org/308522@main> Reviewed commits have been landed. Closing PR #59575 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.