Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 26fdde367412b4923cf8cf86e179de3ff90b9bfa
      
https://github.com/WebKit/WebKit/commit/26fdde367412b4923cf8cf86e179de3ff90b9bfa
  Author: Anne van Kesteren <[email protected]>
  Date:   2026-01-12 (Mon, 12 Jan 2026)

  Changed paths:
    M Source/WebCore/Modules/cookie-store/ExtendableCookieChangeEvent.h
    M Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.h
    M Source/WebCore/Modules/notifications/NotificationEvent.h
    M Source/WebCore/Modules/paymentrequest/PaymentMethodChangeEvent.h
    M Source/WebCore/Modules/push-api/PushEvent.h
    M Source/WebCore/Modules/push-api/PushSubscriptionChangeEvent.h
    M Source/WebCore/Modules/speech/SpeechSynthesisErrorEvent.h
    M Source/WebCore/animation/AnimationEventBase.h
    M Source/WebCore/animation/AnimationPlaybackEvent.h
    M Source/WebCore/animation/CSSAnimationEvent.h
    M Source/WebCore/animation/CSSTransitionEvent.h
    M Source/WebCore/animation/WebAnimation.cpp
    M Source/WebCore/dom/BeforeTextInsertedEvent.h
    M Source/WebCore/dom/BeforeUnloadEvent.cpp
    M Source/WebCore/dom/BeforeUnloadEvent.h
    M Source/WebCore/dom/ClipboardEvent.cpp
    M Source/WebCore/dom/ClipboardEvent.h
    M Source/WebCore/dom/CommandEvent.cpp
    M Source/WebCore/dom/CommandEvent.h
    M Source/WebCore/dom/CompositionEvent.cpp
    M Source/WebCore/dom/CompositionEvent.h
    M Source/WebCore/dom/DragEvent.h
    M Source/WebCore/dom/ErrorEvent.cpp
    M Source/WebCore/dom/ErrorEvent.h
    M Source/WebCore/dom/Event.h
    M Source/WebCore/dom/EventPath.cpp
    M Source/WebCore/dom/FocusEvent.cpp
    M Source/WebCore/dom/FocusEvent.h
    M Source/WebCore/dom/InputEvent.cpp
    M Source/WebCore/dom/InputEvent.h
    M Source/WebCore/dom/KeyboardEvent.cpp
    M Source/WebCore/dom/KeyboardEvent.h
    M Source/WebCore/dom/MouseEvent.cpp
    M Source/WebCore/dom/MouseEvent.h
    M Source/WebCore/dom/PointerEvent.h
    M Source/WebCore/dom/TextEvent.cpp
    M Source/WebCore/dom/TextEvent.h
    M Source/WebCore/dom/ToggleEvent.h
    M Source/WebCore/dom/TouchEvent.h
    M Source/WebCore/dom/UIEvent.cpp
    M Source/WebCore/dom/UIEvent.h
    M Source/WebCore/dom/UIEventWithKeyState.cpp
    M Source/WebCore/dom/UIEventWithKeyState.h
    M Source/WebCore/dom/WheelEvent.cpp
    M Source/WebCore/dom/WheelEvent.h
    M Source/WebCore/html/BaseDateAndTimeInputType.cpp
    M Source/WebCore/html/SubmitEvent.cpp
    M Source/WebCore/html/SubmitEvent.h
    M Source/WebCore/page/LocalDOMWindow.cpp
    M Source/WebCore/workers/service/ExtendableEvent.h
    M Source/WebCore/workers/service/ExtendableMessageEvent.h
    M Source/WebCore/workers/service/FetchEvent.h
    M Source/WebCore/workers/service/InstallEvent.h
    M Source/WebCore/workers/service/background-fetch/BackgroundFetchEvent.h
    M 
Source/WebCore/workers/service/background-fetch/BackgroundFetchUpdateUIEvent.h
    M Source/WebCore/xml/XMLHttpRequestProgressEvent.h

  Log Message:
  -----------
  Refactor TYPE_TRAITS for events
https://bugs.webkit.org/show_bug.cgi?id=305312
rdar://167973075

Reviewed by Chris Dumez.

All final event classes that are also in EventInterfaces.in can use
interfaceType(). SPECIALIZE_TYPE_TRAITS_EVENT implements this. This
obsoletes the need for SPECIALIZE_TYPE_TRAITS_ANIMATION_EVENT_BASE as
well.

SPECIALIZE_TYPE_TRAITS_EVENT_POLYMORPHIC is for event classes that can
have subclasses with their own interfaceType(), such as UIEvent.

This introduces an analogous setup for ExtendableEvent.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to