Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2156f81a710cb78d36fa98a67c4fce24adb6b8f9
https://github.com/WebKit/WebKit/commit/2156f81a710cb78d36fa98a67c4fce24adb6b8f9
Author: Brady Eidson <[email protected]>
Date: 2026-04-21 (Tue, 21 Apr 2026)
Changed paths:
M Source/WebKit/UIProcess/WebBackForwardList.cpp
M Source/WebKit/UIProcess/WebBackForwardList.swift
M Source/WebKit/UIProcess/WebBackForwardListSwiftUtilities.h
Log Message:
-----------
Port recent WebBackForwardList.cpp changes to WebBackForwardList.swift
rdar://157664628
https://bugs.webkit.org/show_bug.cgi?id=312810
Reviewed by Richard Robinson and Adrian Taylor.
Update the Swift implementation of the bflist with all the new item skipping
logic.
* Source/WebKit/UIProcess/WebBackForwardList.cpp:
(WebKit::WebBackForwardListWrapper::itemAtDeltaFromCurrentIndex const):
* Source/WebKit/UIProcess/WebBackForwardList.swift:
(Direction.backItem):
(Direction.forwardItem):
(Direction.itemAtDeltaFromCurrentIndex(_:allowSkipping:)):
(Direction.backListAsAPIArrayWithLimit(_:)):
(Direction.forwardListAsAPIArrayWithLimit(_:)):
(Direction.backForwardUpdateItem(_:frameState:)):
(Direction.itemAtDeltaFromCurrentIndex(_:)): Deleted.
* Source/WebKit/UIProcess/WebBackForwardListSwiftUtilities.h:
(getFrameState):
Canonical link: https://commits.webkit.org/311688@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications