Title: [231447] trunk/Source/WebKit
Revision
231447
Author
[email protected]
Date
2018-05-07 11:16:15 -0700 (Mon, 07 May 2018)

Log Message

Allow Web Touch events to timeout
https://bugs.webkit.org/show_bug.cgi?id=185282

Reviewed by Tim Horton.
        
This is backwards, fixing.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::handleTouchEventSynchronously):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (231446 => 231447)


--- trunk/Source/WebKit/ChangeLog	2018-05-07 18:07:28 UTC (rev 231446)
+++ trunk/Source/WebKit/ChangeLog	2018-05-07 18:16:15 UTC (rev 231447)
@@ -1,3 +1,15 @@
+2018-05-07  Megan Gardner  <[email protected]>
+
+        Allow Web Touch events to timeout
+        https://bugs.webkit.org/show_bug.cgi?id=185282
+
+        Reviewed by Tim Horton.
+        
+        This is backwards, fixing.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::handleTouchEventSynchronously):
+
 2018-05-07  Don Olmstead  <[email protected]>
 
         [Win] LoggingWin is missing includes

Modified: trunk/Source/WebKit/UIProcess/WebPageProxy.cpp (231446 => 231447)


--- trunk/Source/WebKit/UIProcess/WebPageProxy.cpp	2018-05-07 18:07:28 UTC (rev 231446)
+++ trunk/Source/WebKit/UIProcess/WebPageProxy.cpp	2018-05-07 18:16:15 UTC (rev 231447)
@@ -2299,7 +2299,7 @@
     bool handled = false;
     bool replyReceived = m_process->sendSync(Messages::WebPage::TouchEventSync(event), Messages::WebPage::TouchEventSync::Reply(handled), m_pageID, 1_s);
     // If the sync request has timed out, we should consider the event handled. The Web Process is too busy to answer any questions, so the default action is also likely to have issues.
-    if (replyReceived)
+    if (!replyReceived)
         handled = true;
     didReceiveEvent(event.type(), handled);
     m_pageClient.doneWithTouchEvent(event, handled);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to