Title: [264205] trunk/Source
Revision
264205
Author
[email protected]
Date
2020-07-09 17:07:02 -0700 (Thu, 09 Jul 2020)

Log Message

"ESPN Fantasy Sports" does not respond to mouse events, only touch events
https://bugs.webkit.org/show_bug.cgi?id=214165
<rdar://problem/64671543>

Reviewed by Wenson Hsieh.

Source/WebCore:

* platform/RuntimeApplicationChecks.h:
* platform/cocoa/RuntimeApplicationChecksCocoa.mm:
(WebCore::IOSApplication::isESPNFantasySports):

Source/WebKit:

* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView shouldUseMouseGestureRecognizer]):
Add a bundle check.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (264204 => 264205)


--- trunk/Source/WebCore/ChangeLog	2020-07-10 00:05:06 UTC (rev 264204)
+++ trunk/Source/WebCore/ChangeLog	2020-07-10 00:07:02 UTC (rev 264205)
@@ -1,3 +1,15 @@
+2020-07-09  Tim Horton  <[email protected]>
+
+        "ESPN Fantasy Sports" does not respond to mouse events, only touch events
+        https://bugs.webkit.org/show_bug.cgi?id=214165
+        <rdar://problem/64671543>
+
+        Reviewed by Wenson Hsieh.
+
+        * platform/RuntimeApplicationChecks.h:
+        * platform/cocoa/RuntimeApplicationChecksCocoa.mm:
+        (WebCore::IOSApplication::isESPNFantasySports):
+
 2020-07-09  Simon Fraser  <[email protected]>
 
         [macOS] Stuttery scrolling on tesla.com

Modified: trunk/Source/WebCore/platform/RuntimeApplicationChecks.h (264204 => 264205)


--- trunk/Source/WebCore/platform/RuntimeApplicationChecks.h	2020-07-10 00:05:06 UTC (rev 264204)
+++ trunk/Source/WebCore/platform/RuntimeApplicationChecks.h	2020-07-10 00:07:02 UTC (rev 264205)
@@ -108,6 +108,7 @@
 WEBCORE_EXPORT bool isPocketCity();
 WEBCORE_EXPORT bool isEssentialSkeleton();
 WEBCORE_EXPORT bool isLaBanquePostale();
+WEBCORE_EXPORT bool isESPNFantasySports();
 
 } // IOSApplication
 

Modified: trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm (264204 => 264205)


--- trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm	2020-07-10 00:05:06 UTC (rev 264204)
+++ trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm	2020-07-10 00:07:02 UTC (rev 264205)
@@ -404,6 +404,12 @@
     return isLaBanquePostale;
 }
 
+bool IOSApplication::isESPNFantasySports()
+{
+    static bool isESPNFantasySports = applicationBundleIsEqualTo("com.espn.fantasyFootball"_s);
+    return isESPNFantasySports;
+}
+
 #endif
 
 } // namespace WebCore

Modified: trunk/Source/WebKit/ChangeLog (264204 => 264205)


--- trunk/Source/WebKit/ChangeLog	2020-07-10 00:05:06 UTC (rev 264204)
+++ trunk/Source/WebKit/ChangeLog	2020-07-10 00:07:02 UTC (rev 264205)
@@ -1,3 +1,15 @@
+2020-07-09  Tim Horton  <[email protected]>
+
+        "ESPN Fantasy Sports" does not respond to mouse events, only touch events
+        https://bugs.webkit.org/show_bug.cgi?id=214165
+        <rdar://problem/64671543>
+
+        Reviewed by Wenson Hsieh.
+
+        * UIProcess/ios/WKContentViewInteraction.mm:
+        (-[WKContentView shouldUseMouseGestureRecognizer]):
+        Add a bundle check.
+
 2020-07-09  Brent Fulgham  <[email protected]>
 
         [macOS] Adopt the WebKit-specific PAC key and entitlements

Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (264204 => 264205)


--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2020-07-10 00:05:06 UTC (rev 264204)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2020-07-10 00:07:02 UTC (rev 264205)
@@ -8567,6 +8567,10 @@
         if (WebCore::IOSApplication::isEssentialSkeleton())
             return NO;
 
+        // <rdar://problem/64671543> "ESPN Fantasy Sports" does not respond to mouse events, only touch events
+        if (WebCore::IOSApplication::isESPNFantasySports())
+            return NO;
+
         return YES;
     }();
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to