Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 20485662bb03f2f299223e7bde2dcc7aa1f01923
https://github.com/WebKit/WebKit/commit/20485662bb03f2f299223e7bde2dcc7aa1f01923
Author: Ryosuke Niwa <[email protected]>
Date: 2026-02-18 (Wed, 18 Feb 2026)
Changed paths:
M Source/WebCore/dom/Element.cpp
M Source/WebCore/dom/Element.h
M Source/WebCore/dom/Event.cpp
M Source/WebCore/dom/Event.h
M Source/WebCore/dom/EventNames.json
M Source/WebCore/dom/EventTarget.cpp
M Source/WebCore/dom/MutationObserver.cpp
M Source/WebCore/dom/MutationObserver.h
M Source/WebCore/dom/Node.h
M Source/WebCore/dom/WindowEventLoop.h
M Tools/TestWebKitAPI/Tests/WebKitCocoa/UserContentController.mm
Log Message:
-----------
Remove the support for webkitshadowrootattached event
https://bugs.webkit.org/show_bug.cgi?id=308111
Reviewed by Anne van Kesteren.
Removed the code for this failed experiment.
No new tests but removed the existing
WKUserContentController.ShadowRootAttachedEvent.
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::addShadowRoot):
(WebCore::Element::enqueueShadowRootAttachedEvent): Deleted.
(WebCore::Element::dispatchShadowRootAttachedEvent): Deleted.
* Source/WebCore/dom/Element.h:
(WebCore::Element::didDispatchShadowRootAttachedEvent): Deleted.
* Source/WebCore/dom/Event.cpp:
* Source/WebCore/dom/Event.h:
(WebCore::Event::isShadowRootAttachedEvent): Deleted.
(WebCore::Event::setIsShadowRootAttachedEvent): Deleted.
* Source/WebCore/dom/EventNames.json:
* Source/WebCore/dom/EventTarget.cpp:
(WebCore::EventTarget::innerInvokeEventListeners):
* Source/WebCore/dom/MutationObserver.cpp:
(WebCore::MutationObserver::notifyMutationObservers):
(WebCore::MutationObserver::enqueueShadowRootAttachedEvent): Deleted.
* Source/WebCore/dom/MutationObserver.h:
* Source/WebCore/dom/Node.h:
* Source/WebCore/dom/WindowEventLoop.h:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/UserContentController.mm:
(TEST(WKUserContentController, ShadowRootAttachedEvent)): Deleted.
Canonical link: https://commits.webkit.org/307750@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications