Changeset 206825 in webkit


Ignore:
Timestamp:
Oct 5, 2016 1:20:02 PM (8 years ago)
Author:
Michael Catanzaro
Message:

[GTK] Improve comment in platformVersionForUAString
https://bugs.webkit.org/show_bug.cgi?id=162612

Reviewed by Carlos Garcia Campos.

  • platform/gtk/UserAgentGtk.cpp:

(WebCore::platformVersionForUAString):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r206821 r206825  
     12016-10-05  Michael Catanzaro  <mcatanzaro@igalia.com>
     2
     3        [GTK] Improve comment in platformVersionForUAString
     4        https://bugs.webkit.org/show_bug.cgi?id=162612
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * platform/gtk/UserAgentGtk.cpp:
     9        (WebCore::platformVersionForUAString):
     10
    1112016-10-05  Zalan Bujtas  <zalan@apple.com>
    212
  • trunk/Source/WebCore/platform/gtk/UserAgentGtk.cpp

    r206519 r206825  
    9595    return uaOSVersion;
    9696#else
    97     // We will always claim to be Safari in Mac OS X, since Safari in Linux triggers the iOS path on some websites.
    98     // And we always claim to be Intel since ARM triggers mobile versions of some websites.
     97    // We will always claim to be Safari in Intel Mac OS X, since Safari without
     98    // OS X or anything on ARM triggers mobile versions of some websites.
     99    //
     100    // FIXME: The final result should include OS version, e.g. "Intel Mac OS X 10_8_4".
    99101    static NeverDestroyed<const String> uaOSVersion(ASCIILiteral("Intel Mac OS X"));
    100102    return uaOSVersion;
Note: See TracChangeset for help on using the changeset viewer.