diff --git a/mozilla/browser/components/places/content/utils.js b/mozilla/browser/components/places/content/utils.js index 65d9c0f34b9..e385941014b 100644 --- a/mozilla/browser/components/places/content/utils.js +++ b/mozilla/browser/components/places/content/utils.js @@ -324,7 +324,11 @@ var PlacesUtils = { nodeIsLivemarkItem: function PU_nodeIsLivemarkItem(aNode) { NS_ASSERT(aNode, "null node"); - return this.annotations.hasAnnotation(this._uri(aNode.uri), + var uri = aNode.uri; + if (!uri) + return false; + + return this.annotations.hasAnnotation(this._uri(uri), "livemark/bookmarkFeedURI"); },