Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 4cce2f294a54545203b4960ec4a580c21a271e97 https://github.com/WebKit/WebKit/commit/4cce2f294a54545203b4960ec4a580c21a271e97 Author: Patrick Griffis <pgrif...@igalia.com> Date: 2024-05-16 (Thu, 16 May 2024)
Changed paths: M LayoutTests/imported/w3c/web-platform-tests/navigation-api/currententrychange-event/navigation-navigate-preventDefault-expected.txt M LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/return-value/navigate-interrupted-within-onnavigate-expected.txt M LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/return-value/navigate-preventDefault-expected.txt M LayoutTests/platform/glib/imported/w3c/web-platform-tests/navigation-api/navigation-history-entry/entry-after-detach-expected.txt M Source/WebCore/page/Navigation.cpp M Source/WebCore/page/Navigation.h Log Message: ----------- [Navigation] Implement the "abort the ongoing navigation" algorithm https://bugs.webkit.org/show_bug.cgi?id=274170 Reviewed by Alex Christensen. Implement the "abort the ongoing navigation" algorithm [1]. Use it to abort ongoing navigations when a new one starts and to abort events with defaultPrevented. [1] https://html.spec.whatwg.org/multipage/nav-history-apis.html#abort-the-ongoing-navigation * LayoutTests/imported/w3c/web-platform-tests/navigation-api/currententrychange-event/navigation-navigate-preventDefault-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/return-value/navigate-interrupted-within-onnavigate-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/return-value/navigate-preventDefault-expected.txt: * LayoutTests/platform/glib/imported/w3c/web-platform-tests/navigation-api/navigation-history-entry/entry-after-detach-expected.txt: * Source/WebCore/page/Navigation.cpp: (WebCore::Navigation::rejectFinishedPromise): (WebCore::Navigation::abortOngoingNavigation): (WebCore::Navigation::innerDispatchNavigateEvent): * Source/WebCore/page/Navigation.h: Canonical link: https://commits.webkit.org/278874@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