Title: [267394] trunk/Source
Revision
267394
Author
[email protected]
Date
2020-09-21 21:44:47 -0700 (Mon, 21 Sep 2020)

Log Message

paper.io ad close buttons cannot be iteracted with via trackpad on iPad
https://bugs.webkit.org/show_bug.cgi?id=216812
<rdar://problem/68738585>

Reviewed by Wenson Hsieh.

Source/WebCore:

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

Source/WebKit:

* UIProcess/ios/WKContentViewInteraction.mm:
(applicationIsKnownToIgnoreMouseEvents):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (267393 => 267394)


--- trunk/Source/WebCore/ChangeLog	2020-09-22 03:51:28 UTC (rev 267393)
+++ trunk/Source/WebCore/ChangeLog	2020-09-22 04:44:47 UTC (rev 267394)
@@ -1,3 +1,15 @@
+2020-09-21  Tim Horton  <[email protected]>
+
+        paper.io ad close buttons cannot be iteracted with via trackpad on iPad
+        https://bugs.webkit.org/show_bug.cgi?id=216812
+        <rdar://problem/68738585>
+
+        Reviewed by Wenson Hsieh.
+
+        * platform/RuntimeApplicationChecks.h:
+        * platform/cocoa/RuntimeApplicationChecksCocoa.mm:
+        (WebCore::IOSApplication::isPaperIO):
+
 2020-09-21  Chris Dumez  <[email protected]>
 
         Value returned by AudioParamTimeline::valuesForTimeRange() is sometimes incorrect for exponential ramps

Modified: trunk/Source/WebCore/platform/RuntimeApplicationChecks.h (267393 => 267394)


--- trunk/Source/WebCore/platform/RuntimeApplicationChecks.h	2020-09-22 03:51:28 UTC (rev 267393)
+++ trunk/Source/WebCore/platform/RuntimeApplicationChecks.h	2020-09-22 04:44:47 UTC (rev 267394)
@@ -112,6 +112,7 @@
 WEBCORE_EXPORT bool isNoggin();
 WEBCORE_EXPORT bool isOKCupid();
 WEBCORE_EXPORT bool isJWLibrary();
+WEBCORE_EXPORT bool isPaperIO();
 
 } // IOSApplication
 

Modified: trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm (267393 => 267394)


--- trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm	2020-09-22 03:51:28 UTC (rev 267393)
+++ trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm	2020-09-22 04:44:47 UTC (rev 267394)
@@ -428,6 +428,12 @@
     return isJWLibrary;
 }
 
+bool IOSApplication::isPaperIO()
+{
+    static bool isPaperIO = applicationBundleIsEqualTo("io.voodoo.paperio"_s);
+    return isPaperIO;
+}
+
 #endif
 
 } // namespace WebCore

Modified: trunk/Source/WebKit/ChangeLog (267393 => 267394)


--- trunk/Source/WebKit/ChangeLog	2020-09-22 03:51:28 UTC (rev 267393)
+++ trunk/Source/WebKit/ChangeLog	2020-09-22 04:44:47 UTC (rev 267394)
@@ -1,3 +1,14 @@
+2020-09-21  Tim Horton  <[email protected]>
+
+        paper.io ad close buttons cannot be iteracted with via trackpad on iPad
+        https://bugs.webkit.org/show_bug.cgi?id=216812
+        <rdar://problem/68738585>
+
+        Reviewed by Wenson Hsieh.
+
+        * UIProcess/ios/WKContentViewInteraction.mm:
+        (applicationIsKnownToIgnoreMouseEvents):
+
 2020-09-21  Timothy Hatcher  <[email protected]>
 
         Add some WKWebProcessPlugInFrame SPI needed by Safari.

Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (267393 => 267394)


--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2020-09-22 03:51:28 UTC (rev 267393)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2020-09-22 04:44:47 UTC (rev 267394)
@@ -8571,7 +8571,8 @@
         if (WebCore::IOSApplication::isFIFACompanion() // <rdar://problem/67093487>
             || WebCore::IOSApplication::isNoggin() // <rdar://problem/64830335>
             || WebCore::IOSApplication::isOKCupid() // <rdar://problem/65698496>
-            || WebCore::IOSApplication::isJWLibrary()) { // <rdar://problem/68104852>
+            || WebCore::IOSApplication::isJWLibrary() // <rdar://problem/68104852>
+            || WebCore::IOSApplication::isPaperIO()) { // <rdar://problem/68738585>
             warningVersion = "14.2";
             return YES;
         }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to