Reviewed by Darin.
* WebView/WebView.mm:
(-[WebView _userAgentForURL:]): Removed hack.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28735
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-12-14 David D. Kilzer <ddkilzer@apple.com>
+
+ <rdar://problem/5647272> Remove user agent string hack for flickr.com
+
+ Reviewed by Darin.
+
+ * WebView/WebView.mm:
+ (-[WebView _userAgentForURL:]): Removed hack.
+
2007-12-14 David D. Kilzer <ddkilzer@apple.com>
<rdar://problem/5647261> Remove user agent string hack for yahoo.com
- (WebCore::String)_userAgentForURL:(const WebCore::KURL&)url
{
if (_private->useSiteSpecificSpoofing) {
- // FIXME: Remove flickr.com workaround once <rdar://problem/5081617> is fixed
- if (url.host().endsWith("flickr.com")) {
- // Safari 2.0.4's user agent string works here
- static String safari204UserAgent([self _userAgentWithApplicationName:@"Safari/419.3" andWebKitVersion:@"419"]);
- return safari204UserAgent;
- }
+ // No current site-specific spoofs.
}
if (_private->userAgent->isNull()) {