mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
Bug 636828: check for aURI in nsINavBookmarkObserver handler. r=mak, a=johnath
This commit is contained in:
parent
5551f06003
commit
f67ad13bfa
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user