Bug 1140334 - Remove __noSuchMethod__ from PlacesUtils.jsm. r=mak

This commit is contained in:
Jan de Mooij 2015-03-07 16:35:07 +01:00
parent 098ec59ecf
commit 532984f1f6

View File

@ -1958,7 +1958,12 @@ let GuidHelper = {
},
QueryInterface: XPCOMUtils.generateQI(Ci.nsINavBookmarkObserver),
__noSuchMethod__: () => {}, // Catch all all onItem* methods.
onBeginUpdateBatch: function() {},
onEndUpdateBatch: function() {},
onItemChanged: function() {},
onItemVisited: function() {},
onItemMoved: function() {},
};
PlacesUtils.bookmarks.addObserver(this.observer, false);
PlacesUtils.registerShutdownFunction(() => {