Bug 1504535 - P5 - Send a telemetry probe when failing to remove database files during initialization; r=asuth

Depends on D16820

Differential Revision: https://phabricator.services.mozilla.com/D17134

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Tom Tung 2019-01-24 14:18:48 +00:00
Родитель d5176edded
Коммит 0287b6f55c
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -15867,6 +15867,7 @@ nsresult QuotaClient::InitOrigin(PersistenceType aPersistenceType,
// If we somehow running into here, it probably means we are in a
// serious situation. e.g. Filesystem corruption.
// Will handle this in bug 1521541.
REPORT_TELEMETRY_INIT_ERR(kExternalError, IDB_RemoveDBFiles);
return NS_ERROR_UNEXPECTED;
}

Просмотреть файл

@ -14679,7 +14679,8 @@
"IDB_InitDirectory",
"IDB_GetFileSize",
"IDB_GetWalFileSize",
"IDB_GetUsage"
"IDB_GetUsage",
"IDB_RemoveDBFiles"
],
"keyed": true,
"description": "Getting the number of errors in QuotaManager initialization."