add:  const SEARCHSERVICE_CONTRACTID = "@mozilla.org/browser/search-service;1"; const nsIBrowserSearchService = Components.interfaces.nsIBrowserSearchService; this.searchService = Components.classes[SEARCHSERVICE_CONTRACTID].getService(nsIBrowserSearchService); 
context: function nsSidebar(){    const PROMPTSERVICE_CONTRACTID = "@mozilla.org/embedcomp/prompt-service;1";    const nsIPromptService = Components.interfaces.nsIPromptService;    this.promptService =        Components.classes[PROMPTSERVICE_CONTRACTID].getService(nsIPromptService);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b367a2c095b486e15eb1f7ce2ace806c4e37c5eb/nsSidebar.js/buggy/browser/components/sidebar/src/nsSidebar.js