[webkit-changes] [WebKit/WebKit] f64d31: [Navigation] Fix using wrong navigation type in ce...
Patrick
noreply at github.com
Thu May 23 13:21:20 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f64d31c61cfe05eda0e2cf3a604425785b301693
https://github.com/WebKit/WebKit/commit/f64d31c61cfe05eda0e2cf3a604425785b301693
Author: Patrick Griffis <pgriffis at igalia.com>
Date: 2024-05-23 (Thu, 23 May 2024)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-destination-getState-reload-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-meta-refresh-expected.txt
M Source/WebCore/loader/FrameLoader.cpp
M Source/WebCore/loader/FrameLoader.h
Log Message:
-----------
[Navigation] Fix using wrong navigation type in certain cases
https://bugs.webkit.org/show_bug.cgi?id=274560
Reviewed by Alex Christensen.
Explicitly pass the type instead of relying on m_loadType.
* LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-destination-getState-reload-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-meta-refresh-expected.txt:
* Source/WebCore/loader/FrameLoader.cpp:
(WebCore::FrameLoader::loadURL):
(WebCore::FrameLoader::loadWithDocumentLoader):
(WebCore::FrameLoader::dispatchNavigateEvent):
* Source/WebCore/loader/FrameLoader.h:
Canonical link: https://commits.webkit.org/279230@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