Skip to content

Commit

Permalink
[GLIB] Bump Safari version in user agent header for Safari 16
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=245373

Reviewed by Adrian Perez de Castro.

* Source/WebCore/platform/glib/UserAgentGLib.cpp:
(WebCore::buildUserAgentString):

Canonical link: https://commits.webkit.org/254673@main
  • Loading branch information
mcatanzaro committed Sep 20, 2022
1 parent 97f37b5 commit 58b8c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/WebCore/platform/glib/UserAgentGLib.cpp
Expand Up @@ -104,7 +104,7 @@ static String buildUserAgentString(const UserAgentQuirks& quirks)
// 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.
} else
uaString.append("Version/15.0 ");
uaString.append("Version/16.0 ");

if (chassisType() == WTF::ChassisType::Mobile)
uaString.append("Mobile ");
Expand Down

0 comments on commit 58b8c07

Please sign in to comment.