rem: else if (type != "Bookmark" && type != "BookmarkSeparator" && 
add: else if (type != "" &&   type != "Bookmark" && type != "BookmarkSeparator" && 
context:   checkSelection: function (aSelection)  {    if (aSelection.length == 0)      return;    aSelection.type        = new Array(aSelection.length);    aSelection.protocol    = new Array(aSelection.length);    aSelection.isContainer = new Array(aSelection.length);    aSelection.isImmutable = new Array(aSelection.length);    aSelection.isValid     = new Array(aSelection.length);    aSelection.containsPTF = false;    aSelection.containsImmutable = false;    var index, item, parent, type, protocol, isContainer, isImmutable, isValid;    for (var i=0; i<aSelection.length; ++i) {      item        = aSelection.item[i];      parent      = aSelection.parent[i];      type        = BookmarksUtils.resolveType(item);      protocol    = item.Value.split(":")[0];      isContainer = RDFCU.IsContainer(BMDS, item) ||                    protocol == "find" || protocol == "file";      isValid     = true;      isImmutable = false;      if (item.Value == "NC:BookmarksRoot") {        isImmutable = true;      }      else if (type != "Bookmark" && type != "BookmarkSeparator" &&                type != "Folder"   && type != "PersonalToolbarFolder")        isImmutable = true;      else if (parent) {        var parentProtocol = parent.Value.split(":")[0];        if (parentProtocol == "find" || parentProtocol == "file")          aSelection.parent[i] = null;      }      if (isImmutable)        aSelection.containsImmutable = true;      aSelection.type       [i] = type;      aSelection.protocol   [i] = protocol;      aSelection.isContainer[i] = isContainer;      aSelection.isImmutable[i] = isImmutable;      aSelection.isValid    [i] = isValid;    }    if (this.isContainerChildOrSelf(RDF.GetResource("NC:PersonalToolbarFolder"), aSelection))      aSelection.containsPTF = true;  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ac77f358a61b45de690bdb84b46470c08b2a00a8/bookmarks.js/buggy/browser/components/bookmarks/content/bookmarks.js