[webkit-changes] [WebKit/WebKit] 3a9451: Update fast/scrolling/mac/scrollbars tests to use ...

Nikos Mouchtaris noreply at github.com
Mon Apr 3 22:19:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3a9451dba31381654b6b9ebd65f21d083a36b474
      https://github.com/WebKit/WebKit/commit/3a9451dba31381654b6b9ebd65f21d083a36b474
  Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M LayoutTests/fast/scrolling/mac/scrollbars/overflow-in-iframe-overlay-scrollbar-hovered.html
    M LayoutTests/fast/scrolling/mac/scrollbars/overflow-in-iframe-overlay-scrollbar-reveal.html
    M LayoutTests/fast/scrolling/mac/scrollbars/overflow-overlay-scrollbar-hovered.html
    M LayoutTests/fast/scrolling/mac/scrollbars/overflow-overlay-scrollbar-reveal.html
    M LayoutTests/fast/scrolling/mac/scrollbars/overlay-scrollbar-hovered.html
    M LayoutTests/fast/scrolling/mac/scrollbars/overlay-scrollbar-reveal.html
    M LayoutTests/fast/scrolling/mac/scrollbars/overlay-scrollbar-state-expected.txt
    M LayoutTests/fast/scrolling/mac/scrollbars/overlay-scrollbar-state.html
    M LayoutTests/fast/scrolling/mac/scrollbars/scrollbar-state-expected.txt
    M LayoutTests/fast/scrolling/mac/scrollbars/scrollbar-state.html
    M LayoutTests/fast/scrolling/mac/scrollbars/select-overlay-scrollbar-hovered.html
    M LayoutTests/fast/scrolling/mac/scrollbars/select-overlay-scrollbar-reveal.html
    M LayoutTests/fast/scrolling/mac/scrollbars/very-wide-overlay-scrollbar.html
    M LayoutTests/resources/ui-helper.js

  Log Message:
  -----------
  Update fast/scrolling/mac/scrollbars tests to use new UIHelper scrollbar state function
https://bugs.webkit.org/show_bug.cgi?id=254698
rdar://107389069

Reviewed by Simon Fraser.

Update the scrollbar tests to use the new infrastructure. When in non UI-side compositing mode
UIHelper.horizontal/verticalScrollbarState will use the old internals function, and when in
UI-side compositing mode, it will use the new UIScriptController function.

* LayoutTests/fast/scrolling/mac/scrollbars/overflow-in-iframe-overlay-scrollbar-hovered.html:
* LayoutTests/fast/scrolling/mac/scrollbars/overflow-in-iframe-overlay-scrollbar-reveal.html:
* LayoutTests/fast/scrolling/mac/scrollbars/overflow-overlay-scrollbar-hovered.html:
* LayoutTests/fast/scrolling/mac/scrollbars/overflow-overlay-scrollbar-reveal.html:
* LayoutTests/fast/scrolling/mac/scrollbars/overlay-scrollbar-hovered.html:
* LayoutTests/fast/scrolling/mac/scrollbars/overlay-scrollbar-reveal.html:
* LayoutTests/fast/scrolling/mac/scrollbars/overlay-scrollbar-state-expected.txt:
* LayoutTests/fast/scrolling/mac/scrollbars/overlay-scrollbar-state.html:
* LayoutTests/fast/scrolling/mac/scrollbars/scrollbar-state-expected.txt:
* LayoutTests/fast/scrolling/mac/scrollbars/scrollbar-state.html:
* LayoutTests/fast/scrolling/mac/scrollbars/select-overlay-scrollbar-hovered.html:
* LayoutTests/fast/scrolling/mac/scrollbars/select-overlay-scrollbar-reveal.html:
* LayoutTests/fast/scrolling/mac/scrollbars/very-wide-overlay-scrollbar.html:
* LayoutTests/resources/ui-helper.js:
(window.UIHelper.async waitForConditionAsync):
(window.UIHelper.scrollbarState.return.new.Promise.):
(window.UIHelper.scrollbarState.return.new.Promise):
(window.UIHelper.scrollbarState):
(window.UIHelper.verticalScrollbarState):
(window.UIHelper.horizontalScrollbarState):

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




More information about the webkit-changes mailing list