Bug 1253930 - Recently bookmarked items have the default favicon instead of the correct one. r=dao
MozReview-Commit-ID: LMTVQetQL9Q
--- a/browser/base/content/browser-places.js
+++ b/browser/base/content/browser-places.js
@@ -1398,18 +1398,17 @@ var BookmarkingUI = {
document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
"menuitem");
item.setAttribute("label", title || uri);
item.setAttribute("targetURI", uri);
item.setAttribute("class", "menuitem-iconic menuitem-with-favicon bookmark-item " +
extraCSSClass);
item.addEventListener("command", onItemCommand);
if (icon) {
- let iconURL = "moz-anno:favicon:" + icon;
- item.setAttribute("image", iconURL);
+ item.setAttribute("image", icon);
}
fragment.appendChild(item);
}
root.containerOpen = false;
aHeaderItem.parentNode.insertBefore(fragment, aHeaderItem.nextSibling);
},
/**