B2G/gecko/toolkit/components/places/tests/head_common.js
/**
 * Check a JSON backup file for today exists in the profile folder.
 *
 * @return nsIFile object for the file.
 */
Check a JSON backup file for today exists in the profile folder.
@return nsIFile object for the file.
Check a JSON backup file for today exists in the profile folder . @return nsIFile object for the file .
function check_JSON_backup() {
  let profileBookmarksJSONFile = gProfD.clone();
  profileBookmarksJSONFile.append("bookmarkbackups");
  profileBookmarksJSONFile.append(FILENAME_BOOKMARKS_JSON);
  do_check_true(profileBookmarksJSONFile.exists());
  return profileBookmarksJSONFile;
}
function check_JSON_backup ( ) { let profileBookmarksJSONFile = gProfD . clone ( ) ; profileBookmarksJSONFile . append ( "bookmarkbackups" ) ; profileBookmarksJSONFile . append ( FILENAME_BOOKMARKS_JSON ) ; do_check_true ( profileBookmarksJSONFile . exists ( ) ) ; return profileBookmarksJSONFile ; }
Check a JSON backup file for today exists in the profile folder.
Check a JSON backup file for today exists in the profile folder .