Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 1a99ded3fddd6d32ff97a3c2bd0cb3d332a77e5b https://github.com/WebKit/WebKit/commit/1a99ded3fddd6d32ff97a3c2bd0cb3d332a77e5b Author: Rob Buis <rb...@igalia.com> Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths: M LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-history-pushState-expected.txt M LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-history-replaceState-expected.txt M Source/WebCore/page/History.cpp M Source/WebCore/page/Navigation.cpp M Source/WebCore/page/Navigation.h Log Message: ----------- [Navigation] NavigateEvent hashChange should be false in certain cases https://bugs.webkit.org/show_bug.cgi?id=275054 Reviewed by Alex Christensen and Darin Adler. When determining hashChange now we have one extra requirement [1]: - event's classic history API state is null. [1] https://github.com/whatwg/html/pull/10393 * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-history-pushState-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-history-replaceState-expected.txt: * Source/WebCore/page/History.cpp: (WebCore::History::stateObjectAdded): * Source/WebCore/page/Navigation.cpp: (WebCore::Navigation::innerDispatchNavigateEvent): (WebCore::Navigation::dispatchPushReplaceReloadNavigateEvent): * Source/WebCore/page/Navigation.h: Canonical link: https://commits.webkit.org/279770@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes