[webkit-changes] [WebKit/WebKit] 5fb3db: [Navigation] Set serialized state on navigation hi...
Rob Buis
noreply at github.com
Thu May 23 12:15:35 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5fb3db45a58f172e9c8335f1da4133031e10ca58
https://github.com/WebKit/WebKit/commit/5fb3db45a58f172e9c8335f1da4133031e10ca58
Author: Rob Buis <rbuis at igalia.com>
Date: 2024-05-23 (Thu, 23 May 2024)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/navigate-info-and-state-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/reload-info-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/reload-no-args-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/reload-state-and-info-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/reload-state-undefined-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/navigation-api/state/history-pushState-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/navigation-api/state/history-replaceState-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/navigation-api/state/same-document-away-and-back-navigation-api-expected.txt
M Source/WebCore/page/Navigation.cpp
M Source/WebCore/page/Navigation.h
Log Message:
-----------
[Navigation] Set serialized state on navigation history items
https://bugs.webkit.org/show_bug.cgi?id=274535
Reviewed by Alex Christensen.
Set serialized state on navigation history items as part of step 2 of the
"notify about the committed-to entry" algorithm [1].
The test changes are progressions, i.e. assertions involving state now pass but the test
may run into some failure later.
[1] https://html.spec.whatwg.org/multipage/nav-history-apis.html#notify-about-the-committed-to-entry
* LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/navigate-info-and-state-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/reload-info-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/reload-no-args-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/reload-state-and-info-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/reload-state-undefined-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/navigation-api/state/history-pushState-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/navigation-api/state/history-replaceState-expected.txt:
* Source/WebCore/page/Navigation.cpp:
(WebCore::Navigation::notifyCommittedToEntry):
(WebCore::Navigation::updateForNavigation):
* Source/WebCore/page/Navigation.h:
Canonical link: https://commits.webkit.org/279222@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list