[webkit-changes] [WebKit/WebKit] c7d9f0: Constructible EventTarget does create a path durin...

Anne van Kesteren noreply at github.com
Fri Jun 14 08:05:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c7d9f018702caa871efc4dd4d1d6f04e05908373
      https://github.com/WebKit/WebKit/commit/c7d9f018702caa871efc4dd4d1d6f04e05908373
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    A LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-single-activation-behavior-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-single-activation-behavior.html
    M LayoutTests/imported/w3c/web-platform-tests/dom/events/EventTarget-constructible.any-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/dom/events/EventTarget-constructible.any.js
    M LayoutTests/imported/w3c/web-platform-tests/dom/events/EventTarget-constructible.any.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/dom/events/event-global-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/dom/events/event-global.html
    A LayoutTests/imported/w3c/web-platform-tests/dom/events/pointer-event-document-move-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/dom/events/pointer-event-document-move.html
    A LayoutTests/imported/w3c/web-platform-tests/dom/events/remove-all-listeners-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/dom/events/remove-all-listeners.html
    M LayoutTests/imported/w3c/web-platform-tests/dom/events/w3c-import.log
    A LayoutTests/platform/glib/imported/w3c/web-platform-tests/dom/events/Event-dispatch-single-activation-behavior-expected.txt
    A LayoutTests/platform/ios/imported/w3c/web-platform-tests/dom/events/pointer-event-document-move-expected.txt
    M Source/WebCore/dom/EventTarget.cpp

  Log Message:
  -----------
  Constructible EventTarget does create a path during dispatch
https://bugs.webkit.org/show_bug.cgi?id=275404

Reviewed by Wenson Hsieh.

Initialize the path in EventTarget::dispatchEvent. Also synchronize WPT
dom/events (but not dom/events/scrolling) up to this commit:
https://github.com/web-platform-tests/wpt/commit/33bd9cc8426a14d378cd6b6e4d314f18c7af7773

* LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-single-activation-behavior-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-single-activation-behavior.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/dom/events/EventTarget-constructible.any-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/dom/events/EventTarget-constructible.any.js:
(test.listener):
(test):
* LayoutTests/imported/w3c/web-platform-tests/dom/events/EventTarget-constructible.any.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/dom/events/event-global-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/dom/events/event-global.html:
* LayoutTests/imported/w3c/web-platform-tests/dom/events/pointer-event-document-move-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/dom/events/pointer-event-document-move.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/dom/events/remove-all-listeners-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/dom/events/remove-all-listeners.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/dom/events/w3c-import.log:
* LayoutTests/platform/glib/imported/w3c/web-platform-tests/dom/events/Event-dispatch-single-activation-behavior-expected.txt: Added.
* LayoutTests/platform/ios/imported/w3c/web-platform-tests/dom/events/pointer-event-document-move-expected.txt: Added.
* Source/WebCore/dom/EventTarget.cpp:
(WebCore::EventTarget::dispatchEvent):

Canonical link: https://commits.webkit.org/280014@main



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