Title: [261528] branches/safari-609-branch/Source/WebKit
Revision
261528
Author
[email protected]
Date
2020-05-11 17:22:20 -0700 (Mon, 11 May 2020)

Log Message

Cherry-pick r255456. rdar://problem/63112259

    REGRESSION (r253267): Swipe from edge on Twitter images no longer goes back
    https://bugs.webkit.org/show_bug.cgi?id=207011
    <rdar://problem/58966044>

    Reviewed by Wenson Hsieh.

    * UIProcess/ios/WKContentViewInteraction.mm:
    (-[WKContentView deferringGestureRecognizer:shouldDeferOtherGestureRecognizer:]):
    The new touch-event async deferring gesture recognizer was erroneously deferring
    edge swipes, which are not allowed to be blocked by touch events.
    Opt them out of the new gesture gate mechanism.

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255456 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-609-branch/Source/WebKit/ChangeLog (261527 => 261528)


--- branches/safari-609-branch/Source/WebKit/ChangeLog	2020-05-12 00:22:18 UTC (rev 261527)
+++ branches/safari-609-branch/Source/WebKit/ChangeLog	2020-05-12 00:22:20 UTC (rev 261528)
@@ -1,5 +1,38 @@
 2020-05-11  Alan Coon  <[email protected]>
 
+        Cherry-pick r255456. rdar://problem/63112259
+
+    REGRESSION (r253267): Swipe from edge on Twitter images no longer goes back
+    https://bugs.webkit.org/show_bug.cgi?id=207011
+    <rdar://problem/58966044>
+    
+    Reviewed by Wenson Hsieh.
+    
+    * UIProcess/ios/WKContentViewInteraction.mm:
+    (-[WKContentView deferringGestureRecognizer:shouldDeferOtherGestureRecognizer:]):
+    The new touch-event async deferring gesture recognizer was erroneously deferring
+    edge swipes, which are not allowed to be blocked by touch events.
+    Opt them out of the new gesture gate mechanism.
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255456 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2020-01-30  Tim Horton  <[email protected]>
+
+            REGRESSION (r253267): Swipe from edge on Twitter images no longer goes back
+            https://bugs.webkit.org/show_bug.cgi?id=207011
+            <rdar://problem/58966044>
+
+            Reviewed by Wenson Hsieh.
+
+            * UIProcess/ios/WKContentViewInteraction.mm:
+            (-[WKContentView deferringGestureRecognizer:shouldDeferOtherGestureRecognizer:]):
+            The new touch-event async deferring gesture recognizer was erroneously deferring
+            edge swipes, which are not allowed to be blocked by touch events.
+            Opt them out of the new gesture gate mechanism.
+
+2020-05-11  Alan Coon  <[email protected]>
+
         Cherry-pick r258675. rdar://problem/62978870
 
     WebCoreArgumentCoders should check bufferIsLargeEnoughToContain before allocating buffers

Modified: branches/safari-609-branch/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (261527 => 261528)


--- branches/safari-609-branch/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2020-05-12 00:22:18 UTC (rev 261527)
+++ branches/safari-609-branch/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2020-05-12 00:22:20 UTC (rev 261528)
@@ -6832,6 +6832,9 @@
 
 - (BOOL)deferringGestureRecognizer:(WKDeferringGestureRecognizer *)deferringGestureRecognizer shouldDeferOtherGestureRecognizer:(UIGestureRecognizer *)gestureRecognizer
 {
+    if ([_webView _isNavigationSwipeGestureRecognizer:gestureRecognizer])
+        return NO;
+
 #if ENABLE(IOS_TOUCH_EVENTS)
     auto isOneFingerMultipleTapGesture = [](UIGestureRecognizer *gesture) -> BOOL {
         if (![gesture isKindOfClass:UITapGestureRecognizer.class])
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to