Bug 1913624 - Remove expired telemetry histogram SERVICE_WORKER_UPDATED, r=chutten.

Depends on D219445

Differential Revision: https://phabricator.services.mozilla.com/D219446
This commit is contained in:
Florian Quèze 2024-08-20 10:26:53 +00:00
Родитель 86f7136fa6
Коммит 4d5f30b3fe
3 изменённых файлов: 0 добавлений и 13 удалений

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

@ -6,7 +6,6 @@
#include "ServiceWorkerUpdateJob.h"
#include "mozilla/Telemetry.h"
#include "nsIScriptError.h"
#include "nsIURL.h"
#include "nsNetUtil.h"
@ -406,8 +405,6 @@ void ServiceWorkerUpdateJob::ComparisonResult(nsresult aStatus,
return;
}
Telemetry::Accumulate(Telemetry::SERVICE_WORKER_UPDATED, 1);
// Begin step 7 of the Update algorithm to evaluate the new script.
nsLoadFlags flags = aLoadFlags;
if (GetUpdateViaCache() == ServiceWorkerUpdateViaCache::None) {

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

@ -13652,13 +13652,6 @@
"alert_emails": ["tdsmith@mozilla.com", "compatibility@lists.mozilla.org"],
"description": "Number of dedicated workers destroyed; used in conjunction with use counter histograms"
},
"SERVICE_WORKER_UPDATED": {
"record_in_processes": ["main", "content"],
"products": ["firefox", "fennec"],
"expires_in_version": "50",
"kind": "count",
"description": "Count ServiceWorkers scripts that are updated. File bugs in Core::DOM in case of a Telemetry regression."
},
"SERVICE_WORKER_RUNNING": {
"record_in_processes": ["main"],
"products": ["firefox", "fennec"],

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

@ -178,7 +178,6 @@
"SAFE_MODE_USAGE",
"SERVICE_WORKER_REGISTRATION_LOADING",
"SERVICE_WORKER_SPAWN_ATTEMPTS",
"SERVICE_WORKER_UPDATED",
"SERVICE_WORKER_WAS_SPAWNED",
"SHOULD_AUTO_DETECT_LANGUAGE",
"SHOULD_TRANSLATION_UI_APPEAR",
@ -488,7 +487,6 @@
"SEARCH_SERVICE_US_TIMEZONE_MISMATCHED_COUNTRY",
"SERVICE_WORKER_REGISTRATION_LOADING",
"SERVICE_WORKER_SPAWN_ATTEMPTS",
"SERVICE_WORKER_UPDATED",
"SERVICE_WORKER_WAS_SPAWNED",
"SHOULD_AUTO_DETECT_LANGUAGE",
"SHOULD_TRANSLATION_UI_APPEAR",
@ -831,7 +829,6 @@
"SEARCH_SERVICE_US_TIMEZONE_MISMATCHED_COUNTRY",
"SERVICE_WORKER_SPAWN_ATTEMPTS",
"SERVICE_WORKER_SPAWN_GETS_QUEUED",
"SERVICE_WORKER_UPDATED",
"SERVICE_WORKER_WAS_SPAWNED",
"SERVICE_WORKER_DESTROYED",
"SHARED_WORKER_SPAWN_GETS_QUEUED",