Ignore siteURI annotation changes that are for the default livemark, not our livemark

This commit is contained in:
philringnalda@gmail.com 2008-05-03 13:33:24 -07:00
parent a19c377f31
commit 839d05e947

View File

@ -51,7 +51,8 @@ var observer =
// nsIAnnotationObserver
onItemAnnotationSet: function(aItemId, aAnnotationName) {
if (aAnnotationName == "livemark/siteURI") {
if (aAnnotationName == "livemark/siteURI" &&
aItemId == gLivemarkId) {
var newSiteURI = annosvc.getItemAnnotation(aItemId, aAnnotationName);
ok(newSiteURI == FEEDSITESPEC,
"livemark site URI changed to " + newSiteURI + " not to value in feed");