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