Changeset 248937 in webkit


Ignore:
Timestamp:
Aug 20, 2019 11:00:02 PM (5 years ago)
Author:
bshafiei@apple.com
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 <sabouhallawa@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

Location:
branches/safari-608-branch/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-608-branch/Source/WebKit/ChangeLog

    r248935 r248937  
     12019-08-20  Babak Shafiei  <bshafiei@apple.com>
     2
     3        Cherry-pick r248928. rdar://problem/54543351
     4
     5    [iOS] REGRESSION (248501): gmail.com images are still not shown on some versions of iPhone iOS13
     6    https://bugs.webkit.org/show_bug.cgi?id=200948
     7   
     8    Patch by Said Abou-Hallawa <sabouhallawa@apple.com> on 2019-08-20
     9    Reviewed by Tim Horton.
     10   
     11    Apply the gmail.com quirk for all iPhone iOS versions till the gmail.com
     12    bug is fixed.
     13   
     14    * WebProcess/WebPage/ios/WebPageIOS.mm:
     15    (WebKit::WebPage::platformUserAgent const):
     16   
     17    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248928 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     18
     19    2019-08-20  Said Abou-Hallawa  <sabouhallawa@apple.com>
     20
     21            [iOS] REGRESSION (248501): gmail.com images are still not shown on some versions of iPhone iOS13
     22            https://bugs.webkit.org/show_bug.cgi?id=200948
     23
     24            Reviewed by Tim Horton.
     25
     26            Apply the gmail.com quirk for all iPhone iOS versions till the gmail.com
     27            bug is fixed.
     28
     29            * WebProcess/WebPage/ios/WebPageIOS.mm:
     30            (WebKit::WebPage::platformUserAgent const):
     31
    1322019-08-20  Babak Shafiei  <bshafiei@apple.com>
    233
  • branches/safari-608-branch/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm

    r248578 r248937  
    37923792        return String();
    37933793
    3794     if (document->quirks().shouldAvoidUsingIOS13ForGmail() && osNameForUserAgent() == "iPhone OS" && systemMarketingVersionForUserAgentString() == "13_1")
     3794    if (document->quirks().shouldAvoidUsingIOS13ForGmail() && osNameForUserAgent() == "iPhone OS")
    37953795        return standardUserAgentWithApplicationName({ }, "12_1_3");
    37963796
Note: See TracChangeset for help on using the changeset viewer.