B2G/gecko/toolkit/components/autocomplete/tests/unit/test_440866.js
/**
 * Helper to unregister an AutoCompleteSearch.
 */
Helper to unregister an AutoCompleteSearch.
Helper to unregister an AutoCompleteSearch .
function unregisterAutoCompleteSearch(aSearch) {
  var componentManager = Components.manager
                                   .QueryInterface(Ci.nsIComponentRegistrar);
  componentManager.unregisterFactory(aSearch.cid, aSearch);
}
function unregisterAutoCompleteSearch ( aSearch ) { var componentManager = Components . manager . QueryInterface ( Ci . nsIComponentRegistrar ) ; componentManager . unregisterFactory ( aSearch . cid , aSearch ) ; }
Helper to unregister an AutoCompleteSearch.
Helper to unregister an AutoCompleteSearch .