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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6673e31191ec95ea4994521db7c29ac9c887e7d4/nsSidebar.js/buggy/browser/components/sidebar/src/nsSidebar.js