[webkit-changes] [WebKit/WebKit] f80260: Cherry-pick 277435 at main (5b488a0a1b57). https://bu...

Ryosuke Niwa noreply at github.com
Tue Apr 23 04:03:21 PDT 2024


  Branch: refs/heads/webkitglib/2.44
  Home:   https://github.com/WebKit/WebKit
  Commit: f802609d3c91004b81a36718b050770b062adeb3
      https://github.com/WebKit/WebKit/commit/f802609d3c91004b81a36718b050770b062adeb3
  Author: Ryosuke Niwa <rniwa at webkit.org>
  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 at main (5b488a0a1b57). https://bugs.webkit.org/show_bug.cgi?id=272552

    REGRESSION(272801 at 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


More information about the webkit-changes mailing list