Changeset 250942 in webkit


Ignore:
Timestamp:
Oct 9, 2019 4:39:26 PM (5 years ago)
Author:
Alan Bujtas
Message:

[iOS] LayoutTest fast/events/touch/ios/double-tap-for-double-click2.html is timing out
https://bugs.webkit.org/show_bug.cgi?id=202765
<rdar://problem/56123067>

Reviewed by Wenson Hsieh.

Currently when a dblclick handler is dynamically registered while executing the click handler, we don't always pick up the newly added handler (see webkit.org/b/202766).
Modify the test so that it passes consistently (and still preserve the dynamic behavior).

  • fast/events/touch/ios/double-tap-for-double-click2.html:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r250940 r250942  
     12019-10-09  Zalan Bujtas  <zalan@apple.com>
     2
     3        [iOS] LayoutTest fast/events/touch/ios/double-tap-for-double-click2.html is timing out
     4        https://bugs.webkit.org/show_bug.cgi?id=202765
     5        <rdar://problem/56123067>
     6
     7        Reviewed by Wenson Hsieh.
     8
     9        Currently when a dblclick handler is dynamically registered while executing the click handler, we don't always pick up the newly added handler (see webkit.org/b/202766).
     10        Modify the test so that it passes consistently (and still preserve the dynamic behavior).
     11
     12        * fast/events/touch/ios/double-tap-for-double-click2.html:
     13
    1142019-10-09  Jiewen Tan  <jiewen_tan@apple.com>
    215
  • trunk/LayoutTests/fast/events/touch/ios/double-tap-for-double-click2.html

    r246347 r250942  
    2626    testRunner.dumpAsText();
    2727
    28     let rect = doubleTapThis.getBoundingClientRect();
    29     let x = rect.left + rect.width / 2;
    30     let y = rect.top + rect.height / 2;
     28    await UIHelper.activateElement(doubleTapThis);
     29    await UIHelper.waitForDoubleTapDelay();
    3130
    32     await UIHelper.humanSpeedDoubleTapAt(x, y);
     31    let rect = newDoubleTapThis.getBoundingClientRect();
     32    await UIHelper.humanSpeedDoubleTapAt(rect.left, rect.top);
    3333}
    3434</script>
Note: See TracChangeset for help on using the changeset viewer.