[haiku-webkit-commits] r497 - webkit/trunk/WebKit/haiku/WebCoreSupport

  • From: webkit@xxxxxxxxxxxxxxx
  • To: haiku-webkit-commits@xxxxxxxxxxxxx
  • Date: Sun, 16 May 2010 20:41:07 +0000

Author: stippi
Date: Sun May 16 20:41:07 2010
New Revision: 497
URL: http://mmlr.dyndns.org/changeset/497

Log:
Changed user agent string after Ryan mentioned where "InfiNet" was coming from.
:-)

Modified:
   webkit/trunk/WebKit/haiku/WebCoreSupport/FrameLoaderClientHaiku.cpp

Modified: webkit/trunk/WebKit/haiku/WebCoreSupport/FrameLoaderClientHaiku.cpp
==============================================================================
--- webkit/trunk/WebKit/haiku/WebCoreSupport/FrameLoaderClientHaiku.cpp Sun May 
16 19:37:33 2010        (r496)
+++ webkit/trunk/WebKit/haiku/WebCoreSupport/FrameLoaderClientHaiku.cpp Sun May 
16 20:41:07 2010        (r497)
@@ -958,7 +958,7 @@
 String FrameLoaderClientHaiku::userAgent(const KURL&)
 {
     // FIXME: Get the app name from the app. Hardcoded WebPositive for now. 
Mentioning "Safari" is needed for some sites like gmail.com.
-    return String("Mozilla/5.0 (compatible; U; InfiNet 0.1; Haiku) 
AppleWebKit/528+ (KHTML, like Gecko) WebPositive/528+ Safari/528+");
+    return String("Mozilla/5.0 (compatible; U; WebPositive/528+; Haiku) 
AppleWebKit/528+ (KHTML, like Gecko) Safari/528+");
 }
 
 bool FrameLoaderClientHaiku::canCachePage() const

Other related posts:

  • » [haiku-webkit-commits] r497 - webkit/trunk/WebKit/haiku/WebCoreSupport - webkit