Title: [220745] branches/safari-604.1.38.0-branch/LayoutTests
- Revision
- 220745
- Author
- ryanhad...@apple.com
- Date
- 2017-08-15 10:05:22 -0700 (Tue, 15 Aug 2017)
Log Message
Cherry-pick r219572.
Modified Paths
Diff
Modified: branches/safari-604.1.38.0-branch/LayoutTests/ChangeLog (220744 => 220745)
--- branches/safari-604.1.38.0-branch/LayoutTests/ChangeLog 2017-08-15 16:42:41 UTC (rev 220744)
+++ branches/safari-604.1.38.0-branch/LayoutTests/ChangeLog 2017-08-15 17:05:22 UTC (rev 220745)
@@ -1,3 +1,19 @@
+2017-08-15 Ryan Haddad <ryanhad...@apple.com>
+
+ Cherry-pick r219572.
+
+ 2017-07-17 Chris Dumez <cdu...@apple.com>
+
+ fast/workers/worker-user-gesture.html crashes on iOS
+ https://bugs.webkit.org/show_bug.cgi?id=174592
+
+ Reviewed by Simon Fraser.
+
+ Make sure the tap/click event is fully processed before finishing the test by using
+ the promise returned by UIHelper.activateAt().
+
+ * fast/workers/worker-user-gesture.html:
+
2017-08-14 Jason Marcell <jmarc...@apple.com>
Revert r217197. rdar://problem/33890636
Modified: branches/safari-604.1.38.0-branch/LayoutTests/fast/workers/worker-user-gesture.html (220744 => 220745)
--- branches/safari-604.1.38.0-branch/LayoutTests/fast/workers/worker-user-gesture.html 2017-08-15 16:42:41 UTC (rev 220744)
+++ branches/safari-604.1.38.0-branch/LayoutTests/fast/workers/worker-user-gesture.html 2017-08-15 17:05:22 UTC (rev 220745)
@@ -18,12 +18,13 @@
let inputElement = document.getElementById("testButton");
let centerX = inputElement.offsetLeft + inputElement.offsetWidth / 2;
let centerY = inputElement.offsetTop + inputElement.offsetHeight / 2;
- UIHelper.activateAt(centerX, centerY);
- if (++gestureCount == 10) {
- finishJSTest();
- return;
- }
- setTimeout(doUserGesture, 0);
+ UIHelper.activateAt(centerX, centerY).then(function() {
+ if (++gestureCount == 10) {
+ finishJSTest();
+ return;
+ }
+ setTimeout(doUserGesture, 0);
+ });
}
setTimeout(doUserGesture, 0);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes