Title: [248928] trunk/Source/WebKit
Revision
248928
Author
commit-qu...@webkit.org
Date
2019-08-20 17:54:48 -0700 (Tue, 20 Aug 2019)

Log Message

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

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (248927 => 248928)


--- trunk/Source/WebKit/ChangeLog	2019-08-21 00:39:02 UTC (rev 248927)
+++ trunk/Source/WebKit/ChangeLog	2019-08-21 00:54:48 UTC (rev 248928)
@@ -1,3 +1,16 @@
+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  Chris Dumez  <cdu...@apple.com>
 
         WebSQLiteDatabaseTracker does not ensure it is still alive after dispatching to the main thread

Modified: trunk/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm (248927 => 248928)


--- trunk/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm	2019-08-21 00:39:02 UTC (rev 248927)
+++ trunk/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm	2019-08-21 00:54:48 UTC (rev 248928)
@@ -3755,7 +3755,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