src/service-worker/core.js
/*
 * Resets clientsVersion, referrersLastRequestTime, and fetchPromises.
 * @visibleForTesting
 */
Resets clientsVersion, referrersLastRequestTime, and fetchPromises.
Resets clientsVersion referrersLastRequestTime and fetchPromises .
function resetMemosForTesting() {
  for (const key in clientsVersion) {
    delete clientsVersion[key];
  }
  for (const key in referrersLastRequestTime) {
    delete referrersLastRequestTime[key];
  }
  for (const key in fetchPromises) {
    delete fetchPromises[key];
  }
}
function resetMemosForTesting ( ) { for ( const key in clientsVersion ) { delete clientsVersion [ key ] ; } for ( const key in referrersLastRequestTime ) { delete referrersLastRequestTime [ key ] ; } for ( const key in fetchPromises ) { delete fetchPromises [ key ] ; } }
Resets clientsVersion, referrersLastRequestTime, and fetchPromises.
Resets clientsVersion referrersLastRequestTime and fetchPromises .