Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 180e9f85ddca60ed7b3d7cb16372e93c36f5e821
https://github.com/WebKit/WebKit/commit/180e9f85ddca60ed7b3d7cb16372e93c36f5e821
Author: Adrian Taylor <[email protected]>
Date: 2026-01-29 (Thu, 29 Jan 2026)
Changed paths:
M Source/WebKit/UIProcess/API/C/WKAPICast.h
M Source/WebKit/UIProcess/API/C/WKBackForwardListRef.cpp
M Source/WebKit/UIProcess/API/C/WKPage.cpp
M Source/WebKit/UIProcess/API/Cocoa/WKBackForwardList.mm
M Source/WebKit/UIProcess/API/Cocoa/WKBackForwardListInternal.h
M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
M Source/WebKit/UIProcess/ProvisionalPageProxy.cpp
M Source/WebKit/UIProcess/RemotePageProxy.cpp
M Source/WebKit/UIProcess/ViewGestureController.h
M Source/WebKit/UIProcess/WebBackForwardList.cpp
M Source/WebKit/UIProcess/WebBackForwardList.h
A Source/WebKit/UIProcess/WebBackForwardList.swift
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/UIProcess/WebPageProxy.h
M Source/WebKit/UIProcess/WebPageProxyTesting.cpp
M Source/WebKit/WebKit.xcodeproj/project.pbxproj
Log Message:
-----------
Swift WebBackForwardList (off by default) - ownership
https://bugs.webkit.org/show_bug.cgi?id=306515
rdar://169172203
Reviewed by Sihui Liu.
We're introducing a Swift version of the Back Forward List. For the general
design and rationale, see the meta bug linked from the above.
It will be landed as a series of separate commits in order to ease code review.
In this commit:
- Skeleton of Swift WebBackForwardList file
- WebBackForwardListWrapper C++ API shim object
- Accessors within WebPageProxy for three different objects
- Use of those accessors instead of direct access to m_backForwardList.
In this commit, we introduce a nearly-blank WebBackForwardList.swift
with just enough code to represent the object ownership relationships.
This commit does not contain:
- All the actual function bodies we'll add to the Swift code
- Various Swift conformances and utility functions
- A 'SwiftUtilities.h' file which represents some types used in Swift, and
adds some C++ wrapper functions.
There should be no functional changes unless ENABLE_BACK_FORWARD_LIST_SWIFT is
set.
Canonical link: https://commits.webkit.org/306412@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications