[webkit-changes] [WebKit/WebKit] 487628: [Navigation] Implement NavigationDestination.getState
Rob Buis
noreply at github.com
Wed Jul 10 01:27:11 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4876281cfad6c0e881c669a99b48e564b7234f3e
https://github.com/WebKit/WebKit/commit/4876281cfad6c0e881c669a99b48e564b7234f3e
Author: Rob Buis <rbuis at igalia.com>
Date: 2024-07-10 (Wed, 10 Jul 2024)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-destination-getState-navigate-expected.txt
M Source/WebCore/page/Navigation.cpp
M Source/WebCore/page/NavigationDestination.cpp
M Source/WebCore/page/NavigationDestination.h
M Source/WebCore/page/NavigationDestination.idl
Log Message:
-----------
[Navigation] Implement NavigationDestination.getState
https://bugs.webkit.org/show_bug.cgi?id=276320
Reviewed by Alex Christensen.
Implement NavigationDestination.getState functionality [1].
Note that state is not set yet in the traversal case and although it
improves behaviour, it is obscured by an unrelated problem that makes
those tests fail before getState is called.
[1] https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationhistoryentry-getstate
* LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-destination-getState-navigate-expected.txt:
* Source/WebCore/page/Navigation.cpp:
(WebCore::Navigation::innerDispatchNavigateEvent):
(WebCore::Navigation::dispatchPushReplaceReloadNavigateEvent):
* Source/WebCore/page/NavigationDestination.cpp:
(WebCore::NavigationDestination::getState const):
* Source/WebCore/page/NavigationDestination.h:
* Source/WebCore/page/NavigationDestination.idl:
Canonical link: https://commits.webkit.org/280809@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