Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c4cab0f5e07be8625bbbcf8775ddf7ad02fa024c
https://github.com/WebKit/WebKit/commit/c4cab0f5e07be8625bbbcf8775ddf7ad02fa024c
Author: Adrian Taylor <[email protected]>
Date: 2026-02-05 (Thu, 05 Feb 2026)
Changed paths:
M Source/WebKit/Shared/API/APIArray.h
M Source/WebKit/Shared/API/APIObject.h
M Source/WebKit/Shared/SessionState.h
M Source/WebKit/Shared/WebBackForwardListItem.h
M Source/WebKit/UIProcess/ViewSnapshotStore.h
M Source/WebKit/UIProcess/WebBackForwardList.cpp
A Source/WebKit/UIProcess/WebBackForwardListSwiftUtilities.h
M Source/WebKit/UIProcess/WebPageProxy.h
M Source/WebKit/UIProcess/WebProcessProxy.h
M Source/WebKit/WebKit.xcodeproj/project.pbxproj
Log Message:
-----------
Swift WebBackForwardList (off by default) - Swift utilities
https://bugs.webkit.org/show_bug.cgi?id=306874
rdar://169533295
Reviewed by Richard Robinson.
We're introducing a Swift version of the Back Forward List. For the general
design and rationale, see
https://github.com/WebKit/WebKit/pull/55393
It will be landed as a series of separate commits in order to ease code review.
In this commit, we introduce a series of C++ types and functions to call
from Swift. Specifically,
* Swift can't access templated C++ types so we declare concrete types using
'using'
* We introduce a few functions that rely on C++ preprocessor macros.
* A few other utility functions which are workarounds for missing functionality
on the Swift side.
A note on naming: it's messy that this file is called '*Utilities.h';
if it contained just types it would be better to call it '*Types.h' but as it's
a mixture this seemed like the least bad name.
We are landing this commit separately in order to ease code review
of subsequent stages. In itself it's not useful and has no effect
until subsequent commits land.
Canonical link: https://commits.webkit.org/306864@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications