Title: [250942] trunk/LayoutTests
- Revision
- 250942
- Author
- za...@apple.com
- Date
- 2019-10-09 16:39:26 -0700 (Wed, 09 Oct 2019)
Log 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:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (250941 => 250942)
--- trunk/LayoutTests/ChangeLog 2019-10-09 23:31:11 UTC (rev 250941)
+++ trunk/LayoutTests/ChangeLog 2019-10-09 23:39:26 UTC (rev 250942)
@@ -1,3 +1,16 @@
+2019-10-09 Zalan Bujtas <za...@apple.com>
+
+ [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:
+
2019-10-09 Jiewen Tan <jiewen_...@apple.com>
[WebAuthn] Move the mock testing entrance to Internals
Modified: trunk/LayoutTests/fast/events/touch/ios/double-tap-for-double-click2.html (250941 => 250942)
--- trunk/LayoutTests/fast/events/touch/ios/double-tap-for-double-click2.html 2019-10-09 23:31:11 UTC (rev 250941)
+++ trunk/LayoutTests/fast/events/touch/ios/double-tap-for-double-click2.html 2019-10-09 23:39:26 UTC (rev 250942)
@@ -25,11 +25,11 @@
testRunner.waitUntilDone();
testRunner.dumpAsText();
- let rect = doubleTapThis.getBoundingClientRect();
- let x = rect.left + rect.width / 2;
- let y = rect.top + rect.height / 2;
+ await UIHelper.activateElement(doubleTapThis);
+ await UIHelper.waitForDoubleTapDelay();
- await UIHelper.humanSpeedDoubleTapAt(x, y);
+ let rect = newDoubleTapThis.getBoundingClientRect();
+ await UIHelper.humanSpeedDoubleTapAt(rect.left, rect.top);
}
</script>
</head>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes