Don't save the error page icon into Bookmarks b=323508 r+sr=jag

git-svn-id: svn://10.0.0.236/trunk@249727 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
neil%parkwaycc.co.uk
2008-04-07 13:49:21 +00:00
parent d9fdadcb2f
commit 16c823dca8

View File

@@ -178,12 +178,6 @@ nsBrowserStatusHandler.prototype =
var browser = getBrowser();
if (browser.userTypedValue === null)
gProxyFavIcon.setAttribute("src", aHref);
// update any bookmarks with new icon reference
if (!gBookmarksService)
gBookmarksService = Components.classes["@mozilla.org/browser/bookmarks-service;1"]
.getService(Components.interfaces.nsIBookmarksService);
gBookmarksService.updateBookmarkIcon(browser.currentURI.spec, aHref);
}
},