Changeset 206512 in webkit


Ignore:
Timestamp:
Sep 28, 2016 5:54:12 AM (8 years ago)
Author:
Michael Catanzaro
Message:

[GTK] Bump fake Safari version in UA
https://bugs.webkit.org/show_bug.cgi?id=162615

Reviewed by Carlos Garcia Campos.

Pretend to be Safari 10.0 to fix sites that don't work when we pretend to be Safari 8.0.

  • platform/gtk/UserAgentGtk.cpp:

(WebCore::buildUserAgentString):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r206511 r206512  
     12016-09-28  Michael Catanzaro  <mcatanzaro@igalia.com>
     2
     3        [GTK] Bump fake Safari version in UA
     4        https://bugs.webkit.org/show_bug.cgi?id=162615
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        Pretend to be Safari 10.0 to fix sites that don't work when we pretend to be Safari 8.0.
     9
     10        * platform/gtk/UserAgentGtk.cpp:
     11        (WebCore::buildUserAgentString):
     12
    1132016-09-28  Khaled Hosny  <khaledhosny@eglug.org>
    214
  • trunk/Source/WebCore/platform/gtk/UserAgentGtk.cpp

    r206510 r206512  
    146146    // Version/X is mandatory *before* Safari/X to be a valid Safari UA. See
    147147    // https://bugs.webkit.org/show_bug.cgi?id=133403 for details.
    148     uaString.appendLiteral(" (KHTML, like Gecko) Version/8.0 Safari/");
     148    uaString.appendLiteral(" (KHTML, like Gecko) Version/10.0 Safari/");
    149149    uaString.append(versionForUAString());
    150150
Note: See TracChangeset for help on using the changeset viewer.