rem: var display = ds.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(Components.interfaces.nsISelectionDisplay); if (!display) return null; 
add: try { var display = ds.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(Components.interfaces.nsISelectionDisplay); } catch (e) { return null; } 
context: function getSelectionControllerForFindToolbar(ds){  var display = ds.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(Components.interfaces.nsISelectionDisplay);  if (!display)    return null;  return display.QueryInterface(Components.interfaces.nsISelectionController);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6e7f4f5d0d011a538040952d65036d16ee7d0fc2/findBar.js/clean/toolkit/components/typeaheadfind/content/findBar.js