la funzione in questione dovrebbe essere questa, in rosso ho evidenziato la riga indicata dalla console java:
codice:
addDownload: function nsExtensionsDataSource_addDownload (aName, aURL, aIconURL, aItemType)
{
var root = gRDF.GetResource(getItemRoot(aItemType));
var res = gRDF.GetResource(aURL);
this._setProperty(this._profileExtensions, res,
this._emR("name"),
gRDF.GetLiteral(aName))
this._setProperty(this._profileExtensions, res,
this._emR("version"),
gRDF.GetLiteral(" "));
this._setProperty(this._profileExtensions, res,
this._emR("iconURL"),
gRDF.GetLiteral(aIconURL));
this._setProperty(this._profileExtensions, res,
this._emR("downloadURL"),
gRDF.GetLiteral(aURL));
var ctr = Components.classes["@mozilla.org/rdf/container;1"]
.createInstance(Components.interfaces.nsIRDFContainer);
ctr.Init(this._profileExtensions, root);
if (ctr.IndexOf(res) == -1)
ctr.InsertElementAt(res, 1, true);
this._flush(true);
},