Bug 760940 - Bookmarks and history menus behave incorrectly due to non-node weak map keys. r=mak
This commit is contained in:
@@ -80,7 +80,7 @@ function PlacesController(aView) {
|
||||
return Services.dirsvc.get("ProfD", Ci.nsIFile).leafName;
|
||||
});
|
||||
|
||||
this._cachedLivemarkInfoObjects = new WeakMap();
|
||||
this._cachedLivemarkInfoObjects = new Map();
|
||||
}
|
||||
|
||||
PlacesController.prototype = {
|
||||
|
||||
Reference in New Issue
Block a user