rem: debug("sidebar uri is " + sidebar_file.URLString); return sidebar_file.URLString; } catch (ex) {  debug("Exception raise getting sidebar datasource uri"); return null; } 
add: debug("sidebar uri is " + sidebar_file.URLString); return sidebar_file.URLString; } catch (ex) { /* this should not happen */ debug("caught " + ex + " getting sidebar datasource uri"); return null; } 
context: function getSidebarDatasourceURI(panels_file_id) {  try {	  var fileLocatorInterface = Components.interfaces.nsIFileLocator;	  var fileLocatorProgID = 'component://netscape/filelocator';	  var fileLocatorService  = Components.classes[fileLocatorProgID].getService();	  // use the fileLocator to look in the profile directory           // to find 'panels.rdf', which is the	  // database of the user's currently selected panels.	  fileLocatorService = fileLocatorService.QueryInterface(fileLocatorInterface);	  // if <profile>/panels.rdf doesn't exist, GetFileLocation() will copy	  // bin/defaults/profile/panels.rdf to <profile>/panels.rdf	  var sidebar_file = fileLocatorService.GetFileLocation(panels_file_id);	  if (!sidebar_file.exists()) {			// this should not happen, as GetFileLocation() should copy		// defaults/panels.rdf to the users profile directory        debug("sidebar file does not exist");		return null;	  }	  debug("sidebar uri is " + sidebar_file.URLString);	  return sidebar_file.URLString;  }  catch (ex) {	// this should not happen    debug("Exception raise getting sidebar datasource uri");	return null;  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/72d31991e4e59de624b85de58fa727036ed1746c/nsSidebar.js/clean/xpfe/components/sidebar/src/nsSidebar.js