зеркало из https://github.com/mozilla/gecko-dev.git
make sure we have a feed request before we ask the request for it's status
This commit is contained in:
Родитель
71388d069f
Коммит
3103dc1c1c
|
@ -217,7 +217,7 @@ Feed.prototype =
|
|||
if (aFeed && aFeed.downloadCallback)
|
||||
{
|
||||
if (aFeed.downloadCallback)
|
||||
aFeed.downloadCallback.downloaded(aFeed, aFeed.request.status == 304 ? kNewsBlogNoNewItems : kNewsBlogInvalidFeed);
|
||||
aFeed.downloadCallback.downloaded(aFeed, aFeed.request && aFeed.request.status == 304 ? kNewsBlogNoNewItems : kNewsBlogInvalidFeed);
|
||||
FeedCache.removeFeed(aFeed.url);
|
||||
}
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче