Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3300e37806664b70582c7889f3511429edf16ce6
https://github.com/WebKit/WebKit/commit/3300e37806664b70582c7889f3511429edf16ce6
Author: Basuke Suzuki <[email protected]>
Date: 2025-10-09 (Thu, 09 Oct 2025)
Changed paths:
M LayoutTests/TestExpectations
M Source/WebCore/loader/FrameLoader.cpp
M Source/WebCore/page/Navigation.cpp
Log Message:
-----------
[Navigation API] Expect sourceElement to be the form element from
HTMLFormElement.submit.
https://bugs.webkit.org/show_bug.cgi?id=300407
rdar://160391355
Reviewed by Tim Nguyen.
When a form is submitted, sourceElement of that NavigateEvent was set to
null but it should be the form object.
Following tests are recently changed to match the spec.
-
imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-form-reload.html
-
imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-form-traverse.html
-
imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-form-with-target.html
* LayoutTests/TestExpectations:
* Source/WebCore/loader/FrameLoader.cpp:
(WebCore::FrameLoader::dispatchNavigateEvent):
* Source/WebCore/page/Navigation.cpp:
(WebCore::Navigation::innerDispatchNavigateEvent):
Canonical link: https://commits.webkit.org/301252@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes