Changeset 246113 in webkit


Ignore:
Timestamp:
Jun 5, 2019 10:33:54 AM (5 years ago)
Author:
Alan Bujtas
Message:

REGRESSION (~r244378) fast/events/touch/ios/content-observation/stuck-with-hover-state.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=198571
<rdar://problem/50349265>

Reviewed by Brent Fulgham.

testRunner.notifyDone() is called prematurely.

  • fast/events/touch/ios/content-observation/stuck-with-hover-state.html:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r246111 r246113  
     12019-06-05  Zalan Bujtas  <zalan@apple.com>
     2
     3        REGRESSION (~r244378) fast/events/touch/ios/content-observation/stuck-with-hover-state.html is flaky
     4        https://bugs.webkit.org/show_bug.cgi?id=198571
     5        <rdar://problem/50349265>
     6
     7        Reviewed by Brent Fulgham.
     8
     9        testRunner.notifyDone() is called prematurely.
     10
     11        * fast/events/touch/ios/content-observation/stuck-with-hover-state.html:
     12
    1132019-06-05  Shawn Roberts  <sroberts@apple.com>
    214
  • trunk/LayoutTests/fast/events/touch/ios/content-observation/stuck-with-hover-state.html

    r244378 r246113  
    2525    let y = rect.top + rect.height / 2;
    2626
    27         await tapAtPoint(x, y);
    28 
    29     setTimeout("testRunner.notifyDone()", 50);
     27    await tapAtPoint(x, y);
    3028}
    3129</script>
     
    3634<script>
    3735tapthis.addEventListener("mouseover", function( event ) {
    38         clearTimeout(setTimeout(function() { tapthis.innerHTML = "should not see this"; }, 50));
     36    clearTimeout(setTimeout(function() { tapthis.innerHTML = "should not see this"; }, 50));
    3937}, false);
    4038
    4139tapthis.addEventListener("click", function( event ) {   
    42         result.innerHTML = "clicked";
     40    result.innerHTML = "clicked";
     41    if (window.testRunner)
     42        testRunner.notifyDone();
    4343}, false);
    4444</script>
Note: See TracChangeset for help on using the changeset viewer.