Title: [108264] trunk/Source/WebKit/gtk
Revision
108264
Author
[email protected]
Date
2012-02-20 15:22:28 -0800 (Mon, 20 Feb 2012)

Log Message

[GTK] Needs to claim being a more up-to-date Chrome
https://bugs.webkit.org/show_bug.cgi?id=79044

Reviewed by Martin Robinson.

* webkit/webkitwebsettings.cpp:
(chromeUserAgent): update the version of Chrome we claim to be
to avoid warnings from sites such as Wordpress saying that our
browser is outdated.

Modified Paths

Diff

Modified: trunk/Source/WebKit/gtk/ChangeLog (108263 => 108264)


--- trunk/Source/WebKit/gtk/ChangeLog	2012-02-20 22:10:23 UTC (rev 108263)
+++ trunk/Source/WebKit/gtk/ChangeLog	2012-02-20 23:22:28 UTC (rev 108264)
@@ -1,3 +1,15 @@
+2012-02-20  Gustavo Noronha Silva  <[email protected]>
+
+        [GTK] Needs to claim being a more up-to-date Chrome
+        https://bugs.webkit.org/show_bug.cgi?id=79044
+
+        Reviewed by Martin Robinson.
+
+        * webkit/webkitwebsettings.cpp:
+        (chromeUserAgent): update the version of Chrome we claim to be
+        to avoid warnings from sites such as Wordpress saying that our
+        browser is outdated.
+
 2012-02-19  PaweÅ‚ Forysiuk  <[email protected]>
         [GTK] Can't find webinspector and error page redirection on Windows
         https://bugs.webkit.org/show_bug.cgi?id=51616

Modified: trunk/Source/WebKit/gtk/webkit/webkitwebsettings.cpp (108263 => 108264)


--- trunk/Source/WebKit/gtk/webkit/webkitwebsettings.cpp	2012-02-20 22:10:23 UTC (rev 108263)
+++ trunk/Source/WebKit/gtk/webkit/webkitwebsettings.cpp	2012-02-20 23:22:28 UTC (rev 108264)
@@ -183,7 +183,7 @@
 
     DEFINE_STATIC_LOCAL(const String, uaVersion, (makeString(String::number(WEBKIT_USER_AGENT_MAJOR_VERSION), '.', String::number(WEBKIT_USER_AGENT_MINOR_VERSION), '+')));
     DEFINE_STATIC_LOCAL(const String, staticUA, (makeString("Mozilla/5.0 (", webkitPlatform(), webkitOSVersion(), ") AppleWebKit/", uaVersion) +
-                                                 makeString(" (KHTML, like Gecko) Chromium/15.0.874.120 Chrome/15.0.874.120 Safari/", uaVersion)));
+                                                 makeString(" (KHTML, like Gecko) Chromium/17.0.963.56 Chrome/17.0.963.56 Safari/", uaVersion)));
 
     return staticUA;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to