From 101696a632398727a645aa1dff54e22246c386db Mon Sep 17 00:00:00 2001 From: "scott%scott-macgregor.org" Date: Tue, 16 Nov 2004 04:58:52 +0000 Subject: [PATCH] Bug #270094 --> Adding a bogus feed URL fails to throw an alert dialog with information about a network error. sr=bienvenu --- mail/extensions/newsblog/content/Feed.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mail/extensions/newsblog/content/Feed.js b/mail/extensions/newsblog/content/Feed.js index d391024aaf74..1fb26e9ba34f 100755 --- a/mail/extensions/newsblog/content/Feed.js +++ b/mail/extensions/newsblog/content/Feed.js @@ -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); }