Skip to content
Permalink
Browse files
[GTK] Bump Chrome version in Chrome user agent quirk
https://bugs.webkit.org/show_bug.cgi?id=162984

Reviewed by Carlos Garcia Campos.

* platform/gtk/UserAgentGtk.cpp:
(WebCore::buildUserAgentString):


Canonical link: https://commits.webkit.org/180902@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@206849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Michael Catanzaro committed Oct 6, 2016
1 parent 7ef8d79 commit 51d155655ebacc5109f92c91df8e96dee9533c51
Showing with 12 additions and 1 deletion.
  1. +10 −0 Source/WebCore/ChangeLog
  2. +2 −1 Source/WebCore/platform/gtk/UserAgentGtk.cpp
@@ -1,3 +1,13 @@
2016-10-05 Michael Catanzaro <mcatanzaro@igalia.com>

[GTK] Bump Chrome version in Chrome user agent quirk
https://bugs.webkit.org/show_bug.cgi?id=162984

Reviewed by Carlos Garcia Campos.

* platform/gtk/UserAgentGtk.cpp:
(WebCore::buildUserAgentString):

2016-10-05 Dean Jackson <dino@apple.com>

Add Display P3 ColorSpace
@@ -131,8 +131,9 @@ static String buildUserAgentString(const UserAgentQuirks& quirks)
uaString.appendLiteral(" (KHTML, like Gecko) ");

// Note that Chrome UAs advertise *both* Chrome and Safari.
// We set a meaningful value only for the first two digits here.
if (quirks.contains(UserAgentQuirks::NeedsChromeBrowser))
uaString.append("Chrome/51.0.2704.106 ");
uaString.append("Chrome/54.0.2704.106 ");

// Version/X is mandatory *before* Safari/X to be a valid Safari UA. See
// https://bugs.webkit.org/show_bug.cgi?id=133403 for details.

0 comments on commit 51d1556

Please sign in to comment.