Bug #270094 --> Adding a bogus feed URL fails to throw an alert dialog with information about a network error.

sr=bienvenu
This commit is contained in:
scott%scott-macgregor.org 2004-11-16 04:58:52 +00:00
parent 90246214db
commit 101696a632

View File

@ -115,6 +115,9 @@ Feed.onProgress = function(event) {
}
Feed.onDownloadError = function(event) {
var request = event.target;
var url = request.channel.originalURI.spec;
var feed = gFzFeedCache[url];
if (feed.downloadCallback)
feed.downloadCallback.downloaded(feed, kNewsBlogRequestFailure);
}