Changeset 245472 in webkit


Ignore:
Timestamp:
May 17, 2019 11:56:59 AM (5 years ago)
Author:
Wenson Hsieh
Message:

Fix a typo in some user agent string logic
https://bugs.webkit.org/show_bug.cgi?id=197992
<rdar://problem/50895962>

Reviewed by Brent Fulgham.

Adjust the major version number for the desktop user agent string.

  • platform/ios/UserAgentIOS.mm:

(WebCore::standardUserAgentWithApplicationName):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r245471 r245472  
     12019-05-17  Wenson Hsieh  <wenson_hsieh@apple.com>
     2
     3        Fix a typo in some user agent string logic
     4        https://bugs.webkit.org/show_bug.cgi?id=197992
     5        <rdar://problem/50895962>
     6
     7        Reviewed by Brent Fulgham.
     8
     9        Adjust the major version number for the desktop user agent string.
     10
     11        * platform/ios/UserAgentIOS.mm:
     12        (WebCore::standardUserAgentWithApplicationName):
     13
    1142019-05-17  Simon Fraser  <simon.fraser@apple.com>
    215
  • trunk/Source/WebCore/platform/ios/UserAgentIOS.mm

    r244927 r245472  
    8484    if (type == UserAgentType::Desktop) {
    8585        String appNameSuffix = applicationName.isEmpty() ? "" : makeString(" ", applicationName);
    86         return makeString("Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko)", appNameSuffix);
     86        return makeString("Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko)", appNameSuffix);
    8787    }
    8888
Note: See TracChangeset for help on using the changeset viewer.