Changeset 225627 in webkit


Ignore:
Timestamp:
Dec 7, 2017 7:59:29 AM (6 years ago)
Author:
Michael Catanzaro
Message:

[WPE][GTK] Freeze WebKit version in user agent
https://bugs.webkit.org/show_bug.cgi?id=180475

Reviewed by Carlos Garcia Campos.

.:

  • Source/cmake/OptionsGTK.cmake:
  • Source/cmake/OptionsWPE.cmake:

Source/WebCore:

Apple has frozen the WebKit version in its user agent, so we should too, at the same point.

  • platform/glib/UserAgentGLib.cpp:

(WebCore::versionForUAString):

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r225563 r225627  
     12017-12-07  Michael Catanzaro  <mcatanzaro@igalia.com>
     2
     3        [WPE][GTK] Freeze WebKit version in user agent
     4        https://bugs.webkit.org/show_bug.cgi?id=180475
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * Source/cmake/OptionsGTK.cmake:
     9        * Source/cmake/OptionsWPE.cmake:
     10
    1112017-12-05  Stephan Szabo  <stephan.szabo@sony.com>
    212
  • trunk/Source/WebCore/ChangeLog

    r225623 r225627  
     12017-12-07  Michael Catanzaro  <mcatanzaro@igalia.com>
     2
     3        [WPE][GTK] Freeze WebKit version in user agent
     4        https://bugs.webkit.org/show_bug.cgi?id=180475
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        Apple has frozen the WebKit version in its user agent, so we should too, at the same point.
     9
     10        * platform/glib/UserAgentGLib.cpp:
     11        (WebCore::versionForUAString):
     12
    1132017-12-07  Michael Catanzaro  <mcatanzaro@igalia.com>
    214
  • trunk/Source/WebCore/platform/glib/UserAgentGLib.cpp

    r225623 r225627  
    7070}
    7171
    72 static const char* versionForUAString()
     72static inline const char* versionForUAString()
    7373{
    74     return USER_AGENT_MAJOR_VERSION "." USER_AGENT_MINOR_VERSION;
     74    // https://bugs.webkit.org/show_bug.cgi?id=180365
     75    return "605.1.15";
    7576}
    7677
  • trunk/Source/cmake/OptionsGTK.cmake

    r225400 r225627  
    170170add_definitions(-DGETTEXT_PACKAGE="WebKit2GTK-${WEBKITGTK_API_VERSION}")
    171171add_definitions(-DDATA_DIR="${CMAKE_INSTALL_DATADIR}")
    172 add_definitions(-DUSER_AGENT_MAJOR_VERSION="605")
    173 add_definitions(-DUSER_AGENT_MINOR_VERSION="1")
    174172add_definitions(-DWEBKITGTK_API_VERSION_STRING="${WEBKITGTK_API_VERSION}")
    175173
  • trunk/Source/cmake/OptionsWPE.cmake

    r225400 r225627  
    8383add_definitions(-DGETTEXT_PACKAGE="WPE")
    8484add_definitions(-DDATA_DIR="${CMAKE_INSTALL_DATADIR}")
    85 add_definitions(-DUSER_AGENT_MAJOR_VERSION="605")
    86 add_definitions(-DUSER_AGENT_MINOR_VERSION="1")
    8785
    8886SET_AND_EXPOSE_TO_BUILD(USE_CAIRO TRUE)
Note: See TracChangeset for help on using the changeset viewer.