Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2ff46eecb236c2ddadd70ced3c8b4c042f2ffb0a
https://github.com/WebKit/WebKit/commit/2ff46eecb236c2ddadd70ced3c8b4c042f2ffb0a
Author: Anuj Panta <[email protected]>
Date: 2025-10-15 (Wed, 15 Oct 2025)
Changed paths:
M Source/WebKit/UIProcess/Automation/BidiBrowsingContextAgent.cpp
M Source/WebKit/UIProcess/Automation/BidiBrowsingContextAgent.h
M Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp
M Source/WebKit/UIProcess/Automation/WebAutomationSession.h
M Source/WebKit/UIProcess/Automation/protocol/BidiBrowsingContext.json
Log Message:
-----------
[WebDriver][BiDi] Implement the browsingContext.traverseHistory command
https://bugs.webkit.org/show_bug.cgi?id=288334
rdar://problem/145987781
Reviewed by BJ Burg.
Adds traverseHistory support to navigate browsing context history by delta.
Includes bounds checking against the back/forward list to prevent invalid
navigation attempts beyond available history entries. Uses existing
WebBackForwardList to determine valid target indices and retrieve the
history item. The core navigation logic resides in WebAutomationSession.
* Source/WebKit/UIProcess/Automation/BidiBrowsingContextAgent.cpp:
(WebKit::BidiBrowsingContextAgent::traverseHistory):
* Source/WebKit/UIProcess/Automation/BidiBrowsingContextAgent.h:
* Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp:
(WebKit::WebAutomationSession::goForwardInBrowsingContext):
(WebKit::WebAutomationSession::traverseHistoryInBrowsingContext):
* Source/WebKit/UIProcess/Automation/WebAutomationSession.h:
* Source/WebKit/UIProcess/Automation/protocol/BidiBrowsingContext.json:
Canonical link: https://commits.webkit.org/301579@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes