Bug 490028 - JavaScript strict warning in chrome://messenger-newsblog/content/Feed.js and feed-parser.js (Feed.js part; r=myk; sr=bienvenu)
This commit is contained in:
Родитель
bb66dacbb0
Коммит
e2eb62d3bf
|
@ -180,7 +180,10 @@ Feed.prototype =
|
|||
var url = request.channel.originalURI.spec;
|
||||
debug(url + " downloaded");
|
||||
if (request.status < 200 || request.status >= 300)
|
||||
return Feed.prototype.onDownloadError(aEvent);
|
||||
{
|
||||
Feed.prototype.onDownloadError(aEvent);
|
||||
return;
|
||||
}
|
||||
var feed = FeedCache.getFeed(url);
|
||||
if (!feed)
|
||||
throw("error after downloading " + url + ": couldn't retrieve feed from request");
|
||||
|
|
Загрузка…
Ссылка в новой задаче