Branch: refs/heads/webkitglib/2.44
Home: https://github.com/WebKit/WebKit
Commit: f802609d3c91004b81a36718b050770b062adeb3
https://github.com/WebKit/WebKit/commit/f802609d3c91004b81a36718b050770b062adeb3
Author: Ryosuke Niwa <[email protected]>
Date: 2024-04-23 (Tue, 23 Apr 2024)
Changed paths:
A LayoutTests/fast/dom/dispatch-event-without-event-listener-expected.txt
A LayoutTests/fast/dom/dispatch-event-without-event-listener.html
M Source/WebCore/dom/EventDispatcher.cpp
Log Message:
-----------
Cherry-pick 277435@main (5b488a0a1b57).
https://bugs.webkit.org/show_bug.cgi?id=272552
REGRESSION(272801@main): CustomEvent.target is not set when dispatching
event
https://bugs.webkit.org/show_bug.cgi?id=272552
<rdar://126311287>
Reviewed by Yusuke Suzuki.
Set Event's target even when there is no relevant event listener since this
is observable by scripts.
* LayoutTests/fast/dom/dispatch-event-without-event-listener-expected.txt:
Added.
* LayoutTests/fast/dom/dispatch-event-without-event-listener.html: Added.
* Source/WebCore/dom/EventDispatcher.cpp:
(WebCore::EventDispatcher::dispatchEvent):
Canonical link: https://commits.webkit.org/277435@main
Canonical link: https://commits.webkit.org/274313.155@webkitglib/2.44
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