[webkit-changes] [WebKit/WebKit] 08509e: [web-animations] rewrite tests under LayoutTests/w...

Antoine Quint noreply at github.com
Thu Feb 23 12:04:55 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 08509e730a888f16b662c2eede9b6f10d5b28604
      https://github.com/WebKit/WebKit/commit/08509e730a888f16b662c2eede9b6f10d5b28604
  Author: Antoine Quint <graouts at webkit.org>
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
    M LayoutTests/webanimations/accelerated-animation-removal-upon-transition-completion.html
    M LayoutTests/webanimations/accelerated-animation-suspension.html
    M LayoutTests/webanimations/css-animation-dynamic-duration-change.html
    M LayoutTests/webanimations/css-transition-in-flight-reversal-accelerated.html
    M LayoutTests/webanimations/no-scheduling-while-filling-accelerated.html
    M LayoutTests/webanimations/no-scheduling-while-filling-non-accelerated.html
    A LayoutTests/webanimations/resources/rendering-frames.js
    M LayoutTests/webanimations/transform-animation-with-steps-timing-function-not-accelerated.html

  Log Message:
  -----------
  [web-animations] rewrite tests under LayoutTests/webanimations to use promise_test instead of async_test
https://bugs.webkit.org/show_bug.cgi?id=252806

Reviewed by Dean Jackson.

We should stay clear of async_test() which will cause timeouts in case of assertion failures
while promise_test() just ends the test.

* LayoutTests/webanimations/accelerated-animation-removal-upon-transition-completion.html:
* LayoutTests/webanimations/accelerated-animation-suspension.html:
* LayoutTests/webanimations/css-animation-dynamic-duration-change.html:
* LayoutTests/webanimations/css-transition-in-flight-reversal-accelerated.html:
* LayoutTests/webanimations/no-scheduling-while-filling-accelerated.html:
* LayoutTests/webanimations/no-scheduling-while-filling-non-accelerated.html:
* LayoutTests/webanimations/resources/rendering-frames.js: Added.
(const.renderingFrames.async numberOfFrames.return.new.Promise):
(const.renderingFrames.async numberOfFrames):
* LayoutTests/webanimations/transform-animation-with-steps-timing-function-not-accelerated.html:

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




More information about the webkit-changes mailing list