Bug 372040 - nodeIsLivemarkItem asserts for separators. r=dietrich.
git-svn-id: svn://10.0.0.236/trunk@221042 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a63e3d7d65
commit
30c2a41b71
@ -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");
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user