Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2111d4ba6f4729d09f620077df8a89d72d93006b
      
https://github.com/WebKit/WebKit/commit/2111d4ba6f4729d09f620077df8a89d72d93006b
  Author: Antoine Quint <[email protected]>
  Date:   2025-12-06 (Sat, 06 Dec 2025)

  Changed paths:
    M LayoutTests/resources/ui-helper.js
    M Source/WebCore/testing/Internals.cpp
    M Source/WebCore/testing/Internals.h
    M Source/WebCore/testing/Internals.idl

  Log Message:
  -----------
  Introduce a dedicated type to represent `ScrollingNodeID` for internals 
testing
https://bugs.webkit.org/show_bug.cgi?id=303694

Reviewed by Simon Fraser.

We have a couple of `internals` testing methods returning a `ScrollingNodeID` 
and both
returned an array for the pair required to represent the data. A simple struct 
improves
upon this.

* LayoutTests/resources/ui-helper.js:
(window.UIHelper.scrollbarState.return.new.Promise.):
(window.UIHelper.scrollbarState.return.new.Promise):
(window.UIHelper.scrollbarState):
(window.UIHelper.async remoteTimeline):
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::scrollingNodeIDForTimeline const):
(WebCore::Internals::scrollingNodeIDForNode):
* Source/WebCore/testing/Internals.h:
* Source/WebCore/testing/Internals.idl:

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



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

Reply via email to