⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 271208 in webkit


Ignore:
Timestamp:
Jan 6, 2021, 12:02:59 PM (6 years ago)
Author:
graouts@webkit.org
Message:

REGRESSION (2020-10-23): webanimations/accelerated-animation-with-easing.html is flaky on Mac Debug
https://bugs.webkit.org/show_bug.cgi?id=220187
<rdar://problem/72796329>

Reviewed by Dean Jackson.

Ensure there were two stable presentation updates prior to starting animations and two after that to ensure
they are visually running accelerated.

  • platform/mac/TestExpectations:
  • webanimations/accelerated-animation-with-easing.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r271204 r271208  
     12021-01-06  Antoine Quint  <graouts@webkit.org>
     2
     3        REGRESSION (2020-10-23): webanimations/accelerated-animation-with-easing.html is flaky on Mac Debug
     4        https://bugs.webkit.org/show_bug.cgi?id=220187
     5        <rdar://problem/72796329>
     6
     7        Reviewed by Dean Jackson.
     8
     9        Ensure there were two stable presentation updates prior to starting animations and two after that to ensure
     10        they are visually running accelerated.
     11
     12        * platform/mac/TestExpectations:
     13        * webanimations/accelerated-animation-with-easing.html:
     14
    1152021-01-06  Ryan Haddad  <ryanhaddad@apple.com>
    216
  • trunk/LayoutTests/platform/mac/TestExpectations

    r271157 r271208  
    18141814webkit.org/b/208519 [ Catalina ] webanimations/accelerated-animation-slot-invalidation.html [ Pass ImageOnlyFailure ]
    18151815
    1816 webkit.org/b/220187 [ Debug ] webanimations/accelerated-animation-with-easing.html [ Pass ImageOnlyFailure ]
    1817 
    18181816webkit.org/b/208722 imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/seeking/seek-to-max-value.htm [ Pass Failure ]
    18191817
  • trunk/LayoutTests/webanimations/accelerated-animation-with-easing.html

    r265098 r271208  
    2727<div id="easing-on-animation-three-keyframes"></div>
    2828<div id="easing-on-keyframe"></div>
     29<script src="../resources/ui-helper.js"></script>
    2930<script>
    3031
     
    3233    if (window.testRunner)
    3334        testRunner.waitUntilDone();
     35
     36    await UIHelper.ensureStablePresentationUpdate();
     37    await UIHelper.ensureStablePresentationUpdate();
    3438
    3539    const animations = [];
     
    7377
    7478    await Promise.all(animations.map(animation => animation.ready));
    75     await new Promise(requestAnimationFrame);
    76     await new Promise(requestAnimationFrame);
    77     await new Promise(requestAnimationFrame);
     79    await UIHelper.ensureStablePresentationUpdate();
     80    await UIHelper.ensureStablePresentationUpdate();
    7881
    7982    if (window.testRunner)
Note: See TracChangeset for help on using the changeset viewer.