rem: for (var i=0; i < ds.length; i++) { 
add: for (var i=0; i < ds.length; ++i) { 
context: function loadCompositeDS(datasources) {  // We can't search on each individual datasource's - only the aggregate (for each sidebar tab)  // has the appropriate structure.  var compositeDS =  Components.classes["@mozilla.org/rdf/datasource;1?name=composite-datasource"]      .createInstance(Components.interfaces.nsIRDFCompositeDataSource);    var ds = datasources.split(/\s+/);  for (var i=0; i < ds.length; i++) {    if (ds[i] == "rdf:null" || ds[i] == "")      continue;    try {        // we need blocking here to ensure the database is loaded.      var sourceDS = RDF.GetDataSourceBlocking(ds[i]);      compositeDS.AddDataSource(sourceDS);    }    catch (e) {      log("Datasource: " + ds[i] + " was not found.");    }  }  return compositeDS;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/019ec3fba2742f117e373fe522a3cfcbcfb1c2bb/help.js/buggy/extensions/help/resources/content/help.js