async function resetStorageForUrl(session, url, clearStorageTypes) {
  /** @type {Array<LH.IcuMessage>} */
  const warnings = [];

  const clearDataWarnings = await storage.clearDataForOrigin(session, url, clearStorageTypes);
  warnings.push(...clearDataWarnings);

  const clearCacheWarnings = await storage.clearBrowserCaches(session);
  warnings.push(...clearCacheWarnings);

  const importantStorageWarning = await storage.getImportantStorageWarning(session, url);
  if (importantStorageWarning) warnings.push(importantStorageWarning);

  return {warnings};
}
Reset the storage and warn if any stored data could be affecting the scores.
@param {LH.Gatherer.ProtocolSession} session
@param {string} url
@param {LH.Config.Settings['clearStorageTypes']} clearStorageTypes
@return {Promise<{warnings: Array<LH.IcuMessage>}>}