Title: [267682] branches/safari-610-branch/Source
Revision
267682
Author
[email protected]
Date
2020-09-27 13:00:40 -0700 (Sun, 27 Sep 2020)

Log Message

Cherry-pick r267394. rdar://problem/69593980

    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):

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

Modified Paths

Diff

Modified: branches/safari-610-branch/Source/WebCore/ChangeLog (267681 => 267682)


--- branches/safari-610-branch/Source/WebCore/ChangeLog	2020-09-27 20:00:37 UTC (rev 267681)
+++ branches/safari-610-branch/Source/WebCore/ChangeLog	2020-09-27 20:00:40 UTC (rev 267682)
@@ -1,5 +1,41 @@
 2020-09-27  Alan Coon  <[email protected]>
 
+        Cherry-pick r267394. rdar://problem/69593980
+
+    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):
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267394 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    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-27  Alan Coon  <[email protected]>
+
         Cherry-pick r267369. rdar://problem/69594300
 
     [WebAuthn] Don't set the UV option if the authenticator doesn't support it

Modified: branches/safari-610-branch/Source/WebCore/platform/RuntimeApplicationChecks.h (267681 => 267682)


--- branches/safari-610-branch/Source/WebCore/platform/RuntimeApplicationChecks.h	2020-09-27 20:00:37 UTC (rev 267681)
+++ branches/safari-610-branch/Source/WebCore/platform/RuntimeApplicationChecks.h	2020-09-27 20:00:40 UTC (rev 267682)
@@ -112,6 +112,7 @@
 WEBCORE_EXPORT bool isNoggin();
 WEBCORE_EXPORT bool isOKCupid();
 WEBCORE_EXPORT bool isJWLibrary();
+WEBCORE_EXPORT bool isPaperIO();
 
 } // IOSApplication
 

Modified: branches/safari-610-branch/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm (267681 => 267682)


--- branches/safari-610-branch/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm	2020-09-27 20:00:37 UTC (rev 267681)
+++ branches/safari-610-branch/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm	2020-09-27 20:00:40 UTC (rev 267682)
@@ -428,6 +428,12 @@
     return isJWLibrary;
 }
 
+bool IOSApplication::isPaperIO()
+{
+    static bool isPaperIO = applicationBundleIsEqualTo("io.voodoo.paperio"_s);
+    return isPaperIO;
+}
+
 #endif
 
 } // namespace WebCore

Modified: branches/safari-610-branch/Source/WebKit/ChangeLog (267681 => 267682)


--- branches/safari-610-branch/Source/WebKit/ChangeLog	2020-09-27 20:00:37 UTC (rev 267681)
+++ branches/safari-610-branch/Source/WebKit/ChangeLog	2020-09-27 20:00:40 UTC (rev 267682)
@@ -1,5 +1,40 @@
 2020-09-27  Alan Coon  <[email protected]>
 
+        Cherry-pick r267394. rdar://problem/69593980
+
+    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):
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267394 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    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-27  Alan Coon  <[email protected]>
+
         Cherry-pick r267305. rdar://problem/69594350
 
     [macOS] REGRESSION (r265702): System Services receive 0 bytes when extracting selected content as rich text data

Modified: branches/safari-610-branch/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (267681 => 267682)


--- branches/safari-610-branch/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2020-09-27 20:00:37 UTC (rev 267681)
+++ branches/safari-610-branch/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2020-09-27 20:00:40 UTC (rev 267682)
@@ -8633,7 +8633,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