From 1df46a8c0e5a85e805a7dc748e07c8ff12be993e Mon Sep 17 00:00:00 2001 From: "daehyun81.yoo" Date: Mon, 15 Apr 2013 18:28:23 +0900 Subject: [PATCH] Change default User Agent. [Title] Change 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: I2934f1d469d127b17a79984e4cfc9f6a5856665d --- Source/WebKit2/Platform/tizen/AboutData/AboutDataTizen.cpp | 4 ++-- Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/WebKit2/Platform/tizen/AboutData/AboutDataTizen.cpp b/Source/WebKit2/Platform/tizen/AboutData/AboutDataTizen.cpp index 0ae1297..22c6686 100755 --- a/Source/WebKit2/Platform/tizen/AboutData/AboutDataTizen.cpp +++ b/Source/WebKit2/Platform/tizen/AboutData/AboutDataTizen.cpp @@ -617,9 +617,9 @@ static String versionPage() page.append("
"); // 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))); + page.append(helpTextToRow("WebKit", String::format("%d.%d", 537, 3))); // 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; U; Tizen 2.0; en-us) AppleWebKit/537.1 (KHTML, like Gecko) Mobile TizenBrowser/2.0")); + 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(footer()); diff --git a/Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp b/Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp index 1eecc24..4e858f1 100755 --- a/Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp +++ b/Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp @@ -79,7 +79,7 @@ Evas_Object* WebPageProxy::viewWidget() String WebPageProxy::standardUserAgent(const String& applicationNameForUserAgent) { #if OS(TIZEN) - return String::fromUTF8("Mozilla/5.0 (Linux; U; Tizen 2.0; en-us) AppleWebKit/537.1 (KHTML, like Gecko) Mobile TizenBrowser/2.0"); + return String::fromUTF8("Mozilla/5.0 (Linux; Tizen 2.1; sdk) AppleWebKit/537.3 (KHTML, like Gecko) Version/2.1 Mobile Safari/537.3"); #endif WTF::String platform; -- 2.7.4