B2G/gecko/toolkit/mozapps/extensions/test/xpcshell/test_AddonRepository_cache.js
/*
 * Check whether or not the add-ons database exists
 *
 * @param  aExpectedExists
 *         Whether or not the database is expected to exist
 */
Check whether or not the add-ons database exists
@param  aExpectedExists
Whether or not the database is expected to exist
Check whether or not the add - ons database exists @param aExpectedExists Whether or not the database is expected to exist
function check_database_exists(aExpectedExists) {
  let file = gProfD.clone();
  file.append(FILE_DATABASE);
  do_check_eq(file.exists(), aExpectedExists);
}
function check_database_exists ( aExpectedExists ) { let file = gProfD . clone ( ) ; file . append ( FILE_DATABASE ) ; do_check_eq ( file . exists ( ) , aExpectedExists ) ; }
Check whether or not the add-ons database exists
 @param  aExpectedExists
         Whether or not the database is expected to exist
Check whether or not the add - ons database exists @param aExpectedExists Whether or not the database is expected to exist