1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 21:14:11 +01:00

For nsITaggingService issue (maybe Firefox bug).

This commit is contained in:
anekos
2008-12-25 08:12:29 +09:00
parent 8294df5e81
commit bf83f808e2

View File

@@ -61,6 +61,9 @@ function Bookmarks() //{{{
const taggingService = PlacesUtils.tagging;
const faviconService = Cc["@mozilla.org/browser/favicon-service;1"].getService(Ci.nsIFaviconService);
// XXX for strange firefox bug :(
taggingService.getTagsForURI(makeURI('http://mysterious.bug'), {});
const Bookmark = new Struct("url", "title", "icon", "keyword", "tags", "id");
const Keyword = new Struct("keyword", "title", "icon", "url");
Bookmark.defaultValue("icon", function () getFavicon(this.url));