B2G/gecko/toolkit/components/search/tests/xpcshell/head_search.js
/**
 * Clean the profile of any metadata files left from a previous run.
 */
Clean the profile of any metadata files left from a previous run.
Clean the profile of any metadata files left from a previous run .
function removeMetadata()
{
  let file = gProfD.clone();
  file.append("search-metadata.json");
  if (file.exists()) {
    file.remove(false);
  }
  file = gProfD.clone();
  file.append("search.sqlite");
  if (file.exists()) {
    file.remove(false);
  }
}
function removeMetadata ( ) { let file = gProfD . clone ( ) ; file . append ( "search-metadata.json" ) ; if ( file . exists ( ) ) { file . remove ( false ) ; } file = gProfD . clone ( ) ; file . append ( "search.sqlite" ) ; if ( file . exists ( ) ) { file . remove ( false ) ; } }
Clean the profile of any metadata files left from a previous run.
Clean the profile of any metadata files left from a previous run .