RESOLVED FIXED306876
Tweak API calls into Web Back Forward List to respect Swift calling conventions
https://bugs.webkit.org/show_bug.cgi?id=306876
Summary Tweak API calls into Web Back Forward List to respect Swift calling conventions
adrian_taylor
Reported 2026-02-03 07:46:31 PST
We're building a Swift version of the Web Back Forward List code. Various other parts of WebKit code make method calls on it. Some of those will need tweaks to deal with the slightly different calling conventions that Swift functions have. Nearly all of these changes are because we can't store a Swift object within a Ref<T> or a RefPtr<T> in C++. We considered making that possible, but given that Swift reference types are automatically reference-counted in C++, it was felt to be too confusing in the long term - even if it had largely obviated the need for these changes in the short term.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-02-03 07:46:36 PST
adrian_taylor
Comment 2 2026-02-03 08:13:37 PST
EWS
Comment 3 2026-02-05 04:37:52 PST
Committed 306857@main (5c8edbf5a479): <https://commits.webkit.org/306857@main> Reviewed commits have been landed. Closing PR #57787 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.