rem: function changeSelectionColor(aAttention) { try { var ds = getBrowser().docShell; } catch(e) {   return; } var dsEnum = ds.getDocShellEnumerator(Components.interfaces.nsIDocShellTreeItem.typeContent, Components.interfaces.nsIDocShell.ENUMERATE_FORWARDS); while (dsEnum.hasMoreElements()) { ds = dsEnum.getNext().QueryInterface(Components.interfaces.nsIDocShell); var controller = getSelectionControllerForFindToolbar(ds); if (!controller) continue; const selCon = Components.interfaces.nsISelectionController; controller.setDisplaySelection(aAttention? selCon.SELECTION_ATTENTION : selCon.SELECTION_ON); } } 
add: changeSelectionColor: function (aAttention) { try { var ds = getBrowser().docShell; } catch(e) {   return; } var dsEnum = ds.getDocShellEnumerator( Components.interfaces.nsIDocShellTreeItem.typeContent, Components.interfaces.nsIDocShell.ENUMERATE_FORWARDS); while (dsEnum.hasMoreElements()) { ds = dsEnum.getNext().QueryInterface(Components.interfaces.nsIDocShell); var controller = this.getSelectionControllerForFindToolbar(ds); if (!controller) continue; const selCon = Components.interfaces.nsISelectionController; controller.setDisplaySelection(aAttention ? selCon.SELECTION_ATTENTION : selCon.SELECTION_ON); } }, 
context: function changeSelectionColor(aAttention){  try {    var ds = getBrowser().docShell;  } catch(e) {    // If we throw here, the browser we were in is already destroyed.    // See bug 273200.    return;  }  var dsEnum = ds.getDocShellEnumerator(Components.interfaces.nsIDocShellTreeItem.typeContent,                                        Components.interfaces.nsIDocShell.ENUMERATE_FORWARDS);  while (dsEnum.hasMoreElements()) {    ds = dsEnum.getNext().QueryInterface(Components.interfaces.nsIDocShell);    var controller = getSelectionControllerForFindToolbar(ds);    if (!controller)      continue;    const selCon = Components.interfaces.nsISelectionController;    controller.setDisplaySelection(aAttention? selCon.SELECTION_ATTENTION : selCon.SELECTION_ON);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/48b90c32357104d6984ad568a01e4a0d86fd530d/findBar.js/clean/toolkit/components/typeaheadfind/content/findBar.js