mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 13:47:59 +01:00
Fix some noise on FF 3.6.
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
return;
|
||||
}
|
||||
catch (e) {
|
||||
if (e !== "Error opening input stream (invalid filename?)") {
|
||||
dump("dactyl: Trying: " + (base + script + ".js") + ": " + e + "\n" + e.stack);
|
||||
if (typeof e !== "string") {
|
||||
dump("dactyl: Trying: " + (base + script + ".js") + ": " + e + "\n" + e.stack + "\n");
|
||||
Components.utils.reportError(e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -111,6 +111,7 @@ const BookmarkCache = Module("BookmarkCache", {
|
||||
return bookmarks;
|
||||
},
|
||||
|
||||
onBeforeItemRemoved: function () {},
|
||||
onBeginUpdateBatch: function onBeginUpdateBatch() {},
|
||||
onEndUpdateBatch: function onEndUpdateBatch() {},
|
||||
onItemVisited: function onItemVisited() {},
|
||||
@@ -140,11 +141,7 @@ const BookmarkCache = Module("BookmarkCache", {
|
||||
storage.fireEvent(name, "change", itemId);
|
||||
}
|
||||
},
|
||||
QueryInterface: function QueryInterface(iid) {
|
||||
if (iid.equals(Ci.nsINavBookmarkObserver) || iid.equals(Ci.nsISupports))
|
||||
return this;
|
||||
throw Cr.NS_ERROR_NO_INTERFACE;
|
||||
}
|
||||
QueryInterface: XPCOMUtils.generateQI([Ci.nsINavBookmarkObserver])
|
||||
}, {
|
||||
getFavicon: function getFavicon(uri) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user