[Title] Change Tizen version in the default User Agent.
[Issue#] N/A
[Problem] User Agent is set by old version.
[Cause] We did not change it when version was upgraded.
[Solution] We change the User Agent to latest.
Change-Id: Ic59a63e0d55ce801f1f5bfa3c12f83352b91f08c
// TODO : More information(OS version, JavaScript Core version) will be added.
page.append(helpTextToRow("WebKit", String::format("%d.%d", WEBKIT_MAJOR_VERSION, WEBKIT_MINOR_VERSION)));
// FIXME : User Agent should be obtained from a page OBJECT. This will be fixed after refactoring 'about:' implementation itself.
- page.append(helpTextToRow("User Agent", "Mozilla/5.0 (Linux; Tizen 2.1; sdk) AppleWebKit/537.3 (KHTML, like Gecko) Version/2.1 Mobile Safari/537.3"));
+ page.append(helpTextToRow("User Agent", "Mozilla/5.0 (Linux; Tizen 2.2; sdk) AppleWebKit/537.3 (KHTML, like Gecko) Version/2.2 Mobile Safari/537.3"));
page.append(footer());
String WebPageProxy::standardUserAgent(const String& applicationNameForUserAgent)
{
#if OS(TIZEN)
- return String::fromUTF8("Mozilla/5.0 (Linux; Tizen 2.1; sdk) AppleWebKit/537.3 (KHTML, like Gecko) Version/2.1 Mobile Safari/537.3");
+ return String::fromUTF8("Mozilla/5.0 (Linux; Tizen 2.2; sdk) AppleWebKit/537.3 (KHTML, like Gecko) Version/2.2 Mobile Safari/537.3");
#endif
WTF::String platform;