rem: if (aSourceURI) { sourcesArray.AppendElement (aSource); 
add: if (aSource) { sourcesArray.AppendElement(aSource); 
context:   doBookmarksCommand: function (aSource, aCommand, aArgumentsArray)  {    var rCommand = RDF.GetResource(aCommand);      var kSuppArrayContractID = "@mozilla.org/supports-array;1";    var kSuppArrayIID = Components.interfaces.nsISupportsArray;    var sourcesArray = Components.classes[kSuppArrayContractID].createInstance(kSuppArrayIID);    if (aSourceURI) {      sourcesArray.AppendElement (aSource);    }      var argsArray = Components.classes[kSuppArrayContractID].createInstance(kSuppArrayIID);    var length = aArgumentsArray?aArgumentsArray.length:0;    for (var i = 0; i < length; ++i) {      var rArc = RDF.GetResource(aArgumentsArray[i].property);      argsArray.AppendElement(rArc);      var rValue = null;      if ("resource" in aArgumentsArray[i]) {         rValue = RDF.GetResource(aArgumentsArray[i].resource);      }      else        rValue = RDF.GetLiteral(aArgumentsArray[i].literal);      argsArray.AppendElement(rValue);    }    // Exec the command in the Bookmarks datasource.     BMDS.DoCommand(sourcesArray, rCommand, argsArray);  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c21bf0989bab0a51a43d162ec5de372a66a244ed/bookmarks.js/buggy/browser/components/bookmarks/content/bookmarks.js