Title: [248937] branches/safari-608-branch/Source/WebKit
Revision
248937
Author
bshaf...@apple.com
Date
2019-08-20 23:00:02 -0700 (Tue, 20 Aug 2019)

Log Message

Cherry-pick r248928. rdar://problem/54543351

    [iOS] REGRESSION (248501): gmail.com images are still not shown on some versions of iPhone iOS13
    https://bugs.webkit.org/show_bug.cgi?id=200948

    Patch by Said Abou-Hallawa <sabouhall...@apple.com> on 2019-08-20
    Reviewed by Tim Horton.

    Apply the gmail.com quirk for all iPhone iOS versions till the gmail.com
    bug is fixed.

    * WebProcess/WebPage/ios/WebPageIOS.mm:
    (WebKit::WebPage::platformUserAgent const):

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

Modified Paths

Diff

Modified: branches/safari-608-branch/Source/WebKit/ChangeLog (248936 => 248937)


--- branches/safari-608-branch/Source/WebKit/ChangeLog	2019-08-21 06:00:00 UTC (rev 248936)
+++ branches/safari-608-branch/Source/WebKit/ChangeLog	2019-08-21 06:00:02 UTC (rev 248937)
@@ -1,5 +1,36 @@
 2019-08-20  Babak Shafiei  <bshaf...@apple.com>
 
+        Cherry-pick r248928. rdar://problem/54543351
+
+    [iOS] REGRESSION (248501): gmail.com images are still not shown on some versions of iPhone iOS13
+    https://bugs.webkit.org/show_bug.cgi?id=200948
+    
+    Patch by Said Abou-Hallawa <sabouhall...@apple.com> on 2019-08-20
+    Reviewed by Tim Horton.
+    
+    Apply the gmail.com quirk for all iPhone iOS versions till the gmail.com
+    bug is fixed.
+    
+    * WebProcess/WebPage/ios/WebPageIOS.mm:
+    (WebKit::WebPage::platformUserAgent const):
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248928 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2019-08-20  Said Abou-Hallawa  <sabouhall...@apple.com>
+
+            [iOS] REGRESSION (248501): gmail.com images are still not shown on some versions of iPhone iOS13
+            https://bugs.webkit.org/show_bug.cgi?id=200948
+
+            Reviewed by Tim Horton.
+
+            Apply the gmail.com quirk for all iPhone iOS versions till the gmail.com
+            bug is fixed.
+
+            * WebProcess/WebPage/ios/WebPageIOS.mm:
+            (WebKit::WebPage::platformUserAgent const):
+
+2019-08-20  Babak Shafiei  <bshaf...@apple.com>
+
         Cherry-pick r248902. rdar://problem/54543355
 
     Unsafe usage of CookieStorageObserver from a background thread

Modified: branches/safari-608-branch/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm (248936 => 248937)


--- branches/safari-608-branch/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm	2019-08-21 06:00:00 UTC (rev 248936)
+++ branches/safari-608-branch/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm	2019-08-21 06:00:02 UTC (rev 248937)
@@ -3791,7 +3791,7 @@
     if (!document)
         return String();
 
-    if (document->quirks().shouldAvoidUsingIOS13ForGmail() && osNameForUserAgent() == "iPhone OS" && systemMarketingVersionForUserAgentString() == "13_1")
+    if (document->quirks().shouldAvoidUsingIOS13ForGmail() && osNameForUserAgent() == "iPhone OS")
         return standardUserAgentWithApplicationName({ }, "12_1_3");
 
     return String();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to