Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 43aa19d3972632d6f3b422fe23779a43be1e22af
https://github.com/WebKit/WebKit/commit/43aa19d3972632d6f3b422fe23779a43be1e22af
Author: Antoine Quint <[email protected]>
Date: 2025-12-05 (Fri, 05 Dec 2025)
Changed paths:
M LayoutTests/resources/ui-helper.js
A
LayoutTests/webanimations/threaded-animations/remote-progress-based-timeline-creation-update-and-deletion-expected.txt
A
LayoutTests/webanimations/threaded-animations/remote-progress-based-timeline-creation-update-and-deletion.html
M Source/WebCore/animation/AnimationTimeline.h
M Source/WebCore/animation/ScrollTimeline.cpp
M Source/WebCore/animation/ScrollTimeline.h
M Source/WebCore/testing/Internals.cpp
M Source/WebCore/testing/Internals.h
M Source/WebCore/testing/Internals.idl
M Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivateForTesting.h
M Source/WebKit/UIProcess/API/Cocoa/WKWebViewTesting.mm
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteAnimationTimeline.cpp
M
Source/WebKit/UIProcess/RemoteLayerTree/RemoteProgressBasedTimelineRegistry.cpp
M
Source/WebKit/UIProcess/RemoteLayerTree/RemoteProgressBasedTimelineRegistry.h
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.h
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingTree.cpp
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingTree.h
M
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteLayerTreeEventDispatcher.h
M
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteLayerTreeEventDispatcher.mm
M
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingCoordinatorProxyMac.h
M
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingCoordinatorProxyMac.mm
M Tools/TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl
M Tools/TestRunnerShared/UIScriptContext/UIScriptController.h
M Tools/WebKitTestRunner/cocoa/UIScriptControllerCocoa.h
M Tools/WebKitTestRunner/cocoa/UIScriptControllerCocoa.mm
Log Message:
-----------
[threaded-animations] add testing functions to inspect remote timelines
https://bugs.webkit.org/show_bug.cgi?id=303625
rdar://165912596
Reviewed by Anne van Kesteren.
Add two new `internals` functions and a one new `UIScriptController` function
to allow the retrieval
of a timeline's accelerated representation as JSON.
Test:
webanimations/threaded-animations/remote-progress-based-timeline-creation-update-and-deletion.html
* LayoutTests/resources/ui-helper.js:
(window.UIHelper.async remoteTimeline):
*
LayoutTests/webanimations/threaded-animations/remote-progress-based-timeline-creation-update-and-deletion-expected.txt:
Added.
*
LayoutTests/webanimations/threaded-animations/remote-progress-based-timeline-creation-update-and-deletion.html:
Added.
* Source/WebCore/animation/AnimationTimeline.h:
(WebCore::AnimationTimeline::acceleratedTimelineIdentifierForTesting const):
* Source/WebCore/animation/ScrollTimeline.cpp:
(WebCore::ScrollTimeline::scrollingNodeIDForTesting const):
* Source/WebCore/animation/ScrollTimeline.h:
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::identifierForTimeline const):
(WebCore::Internals::scrollingNodeIDForTimeline const):
* Source/WebCore/testing/Internals.h:
* Source/WebCore/testing/Internals.idl:
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivateForTesting.h:
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewTesting.mm:
(-[WKWebView _progressBasedTimelinesForScrollingNodeID:processID:]):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteAnimationTimeline.cpp:
(WebKit::RemoteAnimationTimeline::toJSONForTesting const):
*
Source/WebKit/UIProcess/RemoteLayerTree/RemoteProgressBasedTimelineRegistry.cpp:
(WebKit::RemoteProgressBasedTimelineRegistry::timelinesForScrollingNodeIDForTesting
const):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteProgressBasedTimelineRegistry.h:
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.h:
(WebKit::RemoteScrollingCoordinatorProxy::timelinesForScrollingNodeIDForTesting
const):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingTree.cpp:
(WebKit::RemoteScrollingTree::timelinesForScrollingNodeIDForTesting const):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingTree.h:
* Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteLayerTreeEventDispatcher.h:
* Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteLayerTreeEventDispatcher.mm:
(WebKit::RemoteLayerTreeEventDispatcher::timelinesForScrollingNodeIDForTesting):
*
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingCoordinatorProxyMac.h:
*
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingCoordinatorProxyMac.mm:
(WebKit::RemoteScrollingCoordinatorProxyMac::timelinesForScrollingNodeIDForTesting
const):
* Tools/TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
* Tools/TestRunnerShared/UIScriptContext/UIScriptController.h:
(WTR::UIScriptController::progressBasedTimelinesForScrollingNodeID const):
* Tools/WebKitTestRunner/cocoa/UIScriptControllerCocoa.h:
* Tools/WebKitTestRunner/cocoa/UIScriptControllerCocoa.mm:
(WTR::UIScriptControllerCocoa::progressBasedTimelinesForScrollingNodeID const):
Canonical link: https://commits.webkit.org/303993@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications