Title: [220745] branches/safari-604.1.38.0-branch/LayoutTests
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 <[email protected]>
+
+ Cherry-pick r219572.
+
+ 2017-07-17 Chris Dumez <[email protected]>
+
+ 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 <[email protected]>
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
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes