Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[EFL] Bump Version/X in user agent
https://bugs.webkit.org/show_bug.cgi?id=150013

Reviewed by Csaba Osztrogonác.

EFL port needs to ensure maximum compatibility with existing web sites.
Thus version number needs to be bumped from 5.0 to 8.0 as GTK port.

* UIProcess/efl/WebPageProxyEfl.cpp:
(WebKit::WebPageProxy::standardUserAgent):


Canonical link: https://commits.webkit.org/168145@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@190851 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Gyuyoung committed Oct 12, 2015
1 parent 97f360d commit bae2b3e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions Source/WebKit2/ChangeLog
@@ -1,3 +1,16 @@
2015-10-12 Gyuyoung Kim <gyuyoung.kim@webkit.org>

[EFL] Bump Version/X in user agent
https://bugs.webkit.org/show_bug.cgi?id=150013

Reviewed by Csaba Osztrogonác.

EFL port needs to ensure maximum compatibility with existing web sites.
Thus version number needs to be bumped from 5.0 to 8.0 as GTK port.

* UIProcess/efl/WebPageProxyEfl.cpp:
(WebKit::WebPageProxy::standardUserAgent):

2015-10-10 Dan Bernstein <mitz@apple.com>

[iOS] Remove unnecessary iOS version checks
Expand Down
2 changes: 1 addition & 1 deletion Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp
Expand Up @@ -63,7 +63,7 @@ String WebPageProxy::standardUserAgent(const String& applicationNameForUserAgent
osVersion = "Unknown";

standardUserAgentString = "Mozilla/5.0 (" + platform + "; " + osVersion + ") AppleWebKit/" + version
+ " (KHTML, like Gecko) Version/5.0 Safari/" + version;
+ " (KHTML, like Gecko) Version/8.0 Safari/" + version;

return applicationNameForUserAgent.isEmpty() ? standardUserAgentString : standardUserAgentString + ' ' + applicationNameForUserAgent;
}
Expand Down

0 comments on commit bae2b3e

Please sign in to comment.