Changeset 231851 in webkit


Ignore:
Timestamp:
May 16, 2018 10:25:13 AM (6 years ago)
Author:
graouts@webkit.org
Message:

[Web Animations] Turn Web Animations with CSS integration on for test runners
https://bugs.webkit.org/show_bug.cgi?id=184819

Unreviewed. Another attempt to make this test more robust.

  • transitions/interrupted-transition-hardware.html:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r231849 r231851  
     12018-05-16  Antoine Quint  <graouts@apple.com>
     2
     3        [Web Animations] Turn Web Animations with CSS integration on for test runners
     4        https://bugs.webkit.org/show_bug.cgi?id=184819
     5
     6        Unreviewed. Another attempt to make this test more robust.
     7
     8        * transitions/interrupted-transition-hardware.html:
     9
    1102018-05-16  Chris Nardi  <cnardi@chromium.org>
    211
  • trunk/LayoutTests/transitions/interrupted-transition-hardware.html

    r231842 r231851  
    4343        const test = document.getElementById("test");
    4444
     45        function waitForCompositedAnimationUpdate(callback)
     46        {
     47            setTimeout(callback, 500);
     48        }
     49
    4550        setTimeout(() => {
    4651            test.classList.add("transitions");
    47             setTimeout(() => {
     52            waitForCompositedAnimationUpdate(() => {
    4853                test.classList.remove("transitions");
    49                 setTimeout(() => {
     54                waitForCompositedAnimationUpdate(() => {
    5055                    if (window.testRunner)
    5156                        testRunner.notifyDone();
    52                 }, 500);
     57                });
    5358            });
    5459        });
Note: See TracChangeset for help on using the changeset viewer.