diff options
author | pliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-22 15:13:49 +0000 |
---|---|---|
committer | pliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-22 15:13:49 +0000 |
commit | f637b85dab565e532fc333daf932b9889abea2b5 (patch) | |
tree | 50813d2f6fd44439a8ebc00577091cfd51208ed3 /webkit | |
parent | 7826bb5d6a7777314a500987c46a172d6c586a6e (diff) | |
download | chromium_src-f637b85dab565e532fc333daf932b9889abea2b5.zip chromium_src-f637b85dab565e532fc333daf932b9889abea2b5.tar.gz chromium_src-f637b85dab565e532fc333daf932b9889abea2b5.tar.bz2 |
Revert "Disable cookies when fetching favicon" (r181483).
This made servers with cookie-based favicons fail.
BUG=114082
Review URL: https://chromiumcodereview.appspot.com/14018012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195508 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/resource_fetcher.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/webkit/glue/resource_fetcher.cc b/webkit/glue/resource_fetcher.cc index 8729aa7..c3d7c84 100644 --- a/webkit/glue/resource_fetcher.cc +++ b/webkit/glue/resource_fetcher.cc @@ -51,10 +51,6 @@ void ResourceFetcher::Cancel() { void ResourceFetcher::Start(WebFrame* frame) { WebURLRequest request(url_); request.setTargetType(target_type_); - if (target_type_ == WebURLRequest::TargetIsFavicon) { - // Disable cookies to avoid side effects when fetching favicon. - request.setAllowCookies(false); - } request.setFirstPartyForCookies(frame->document().firstPartyForCookies()); frame->dispatchWillSendRequest(request); |