B2G/gecko/toolkit/mozapps/extensions/test/browser/browser_searching.js
/*
 * Checks whether or not the Add-ons Manager is currently searching
 *
 * @param  aExpectedSearching
 *         The expected isSearching state
 */
Checks whether or not the Add-ons Manager is currently searching
@param  aExpectedSearching
The expected isSearching state
Checks whether or not the Add - ons Manager is currently searching @param aExpectedSearching The expected isSearching state
function check_is_searching(aExpectedSearching) {
  var loading = gManagerWindow.document.getElementById("search-loading");
  is(!is_hidden(loading), aExpectedSearching,
     "Search throbber should be showing iff currently searching");
}
function check_is_searching ( aExpectedSearching ) { var loading = gManagerWindow . document . getElementById ( "search-loading" ) ; is ( ! is_hidden ( loading ) , aExpectedSearching , "Search throbber should be showing iff currently searching" ) ; }
Checks whether or not the Add-ons Manager is currently searching
 @param  aExpectedSearching
         The expected isSearching state
Checks whether or not the Add - ons Manager is currently searching @param aExpectedSearching The expected isSearching state