B2G/gecko/browser/components/privatebrowsing/test/unit/head_privatebrowsing.js
/**
 * Removes any files that could make our tests fail.
 */
Removes any files that could make our tests fail.
Removes any files that could make our tests fail .
function cleanUp()
{
  let files = [
    "downloads.sqlite",
    "places.sqlite",
    "cookies.sqlite",
    "signons.sqlite",
    "permissions.sqlite"
  ];
  for (let i = 0; i < files.length; i++) {
    let file = dirSvc.get("ProfD", Ci.nsIFile);
    file.append(files[i]);
    if (file.exists())
      file.remove(false);
  }
}
function cleanUp ( ) { let files = [ "downloads.sqlite" , "places.sqlite" , "cookies.sqlite" , "signons.sqlite" , "permissions.sqlite" ] ; for ( let i = 0 ; i < files . length ; i ++ ) { let file = dirSvc . get ( "ProfD" , Ci . nsIFile ) ; file . append ( files [ i ] ) ; if ( file . exists ( ) ) file . remove ( false ) ; } }
Removes any files that could make our tests fail.
Removes any files that could make our tests fail .