<rdar://problem/5647272> Remove user agent string hack for flickr.com
[WebKit-https.git] / WebKit / mac / WebView / WebView.mm
index 8153900cf39dd1183b474b29c42e56822c55be12..423b3e20fc8dde6d721602da7d7b7aa1a5804aa2 100644 (file)
@@ -4119,12 +4119,7 @@ static NSString *createMacOSXVersionString()
 - (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()) {