Bug 636828: check for aURI in nsINavBookmarkObserver handler. r=mak, a=johnath

This commit is contained in:
Richard Newman 2011-02-25 18:07:25 -08:00
parent 5551f06003
commit f67ad13bfa

View File

@ -1048,7 +1048,7 @@ var PlacesStarButton = {
return;
}
if (aURI.equals(this._uri)) {
if (aURI && aURI.equals(this._uri)) {
// If a new bookmark has been added to the tracked uri, register it.
if (this._itemIds.indexOf(aItemId) == -1) {
this._itemIds.push(aItemId);