mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
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:
parent
90246214db
commit
101696a632
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user