Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4e152c200e9dee819e3320a9a6f2132b82ef546e
https://github.com/WebKit/WebKit/commit/4e152c200e9dee819e3320a9a6f2132b82ef546e
Author: Basuke Suzuki <[email protected]>
Date: 2026-01-28 (Wed, 28 Jan 2026)
Changed paths:
M LayoutTests/TestExpectations
M Source/WebKit/UIProcess/WebBackForwardList.cpp
M Source/WebKit/UIProcess/WebBackForwardList.h
Log Message:
-----------
WebBackForwardList::backForwardAllItems() should return FrameStates only for
the frameID
https://bugs.webkit.org/show_bug.cgi?id=306441
rdar://169108799
Reviewed by Chris Dumez.
In the current implementation of WebBackForwardList::backForwardAllItems(), if
an item
for the given frameID is not found, the main frame's FrameState is being
returned, but
it should return only the states for that specific frame.
Tests PASS:
imported/w3c/web-platform-tests/navigation-api/navigation-history-entry/entries-after-bfcache-in-iframe.html
* LayoutTests/TestExpectations:
* Source/WebKit/UIProcess/WebBackForwardList.cpp:
(WebKit::WebBackForwardList::backForwardAllItems):
Canonical link: https://commits.webkit.org/306389@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications