From bf83f808e2178edec9528bb2a3d27d52346dc57f Mon Sep 17 00:00:00 2001 From: anekos Date: Thu, 25 Dec 2008 08:12:29 +0900 Subject: [PATCH] For nsITaggingService issue (maybe Firefox bug). --- vimperator/content/bookmarks.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vimperator/content/bookmarks.js b/vimperator/content/bookmarks.js index af0dbb94..94e42657 100644 --- a/vimperator/content/bookmarks.js +++ b/vimperator/content/bookmarks.js @@ -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));