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

Changeset 285200 in webkit


Ignore:
Timestamp:
Nov 3, 2021, 1:23:50 AM (5 years ago)
Author:
commit-queue@webkit.org
Message:

REGRESSION(r284603) [GTK][WPE] test fast/frames/flattening/scrolling-in-object.html fails
​https://bugs.webkit.org/show_bug.cgi?id=232627

Use UIHelper.waitForTargetScrollAnimationToSettle rather than a timeout to make the test reliable.

Patch by Arcady Goldmints-Orlov <Arcady Goldmints-Orlov> on 2021-11-03
Reviewed by Martin Robinson.

  • fast/frames/flattening/scrolling-in-object.html:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r285192 r285200  
     12021-11-03  Arcady Goldmints-Orlov  <agoldmints@igalia.com>
     2
     3        REGRESSION(r284603) [GTK][WPE] test fast/frames/flattening/scrolling-in-object.html fails
     4        https://bugs.webkit.org/show_bug.cgi?id=232627
     5
     6        Use UIHelper.waitForTargetScrollAnimationToSettle rather than a timeout to make the test reliable.
     7
     8        Reviewed by Martin Robinson.
     9
     10        * fast/frames/flattening/scrolling-in-object.html:
     11
    1122021-11-02  Gabriel Nava Marino  <gnavamarino@apple.com>
    213
  • trunk/LayoutTests/fast/frames/flattening/scrolling-in-object.html

    r218480 r285200  
    11<html>
    22    <head>
     3        <script src="../../../resources/ui-helper.js"></script>
    34        <script type="text/javascript">
     5            window.jsTestIsAsync = true;
    46            if (window.testRunner && window.internals) {
    57                testRunner.waitUntilDone();
    … …  
    79            }
    810
    9             function runTest()
     11            async function runTest()
    1012            {
    1113                if (window.eventSender && window.testRunner) {
    … …  
    1517                    eventSender.mouseMoveTo(startX, startY);
    1618                    eventSender.mouseScrollBy(0, -4);
    17                     setTimeout(function() {
    18                         testRunner.notifyDone();
    19                     }, 100);
     19                    await UIHelper.waitForTargetScrollAnimationToSettle(element);
     20                    testRunner.notifyDone();
    2021                }
    2122            }
Note: See TracChangeset for help on using the changeset viewer.