add:  const PROMPTSERVICE_CONTRACTID = "@mozilla.org/embedcomp/prompt-service;1"; const nsIPromptService = Components.interfaces.nsIPromptService; this.promptService = Components.classes[PROMPTSERVICE_CONTRACTID].getService(nsIPromptService); 
context: function nsSidebar(){    const RDF_CONTRACTID = "@mozilla.org/rdf/rdf-service;1";    const nsIRDFService = Components.interfaces.nsIRDFService;        this.rdf = Components.classes[RDF_CONTRACTID].getService(nsIRDFService);    this.datasource_uri = getSidebarDatasourceURI(PANELS_RDF_FILE);    debug('datasource_uri is ' + this.datasource_uri);    this.resource = 'urn:sidebar:current-panel-list';    this.datasource = this.rdf.GetDataSource(this.datasource_uri);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/54bd9d73bc9a919d3e7efebb78197f46aa087123/nsSidebar.js/clean/browser/components/sidebar/src/nsSidebar.js