Bug 1370216: Remove SANDBOX_BROKER_INITIALIZED telemetry. r=jimm

This commit is contained in:
Bob Owen 2017-06-05 20:18:31 +01:00
Родитель c671140c63
Коммит 12073adc94
2 изменённых файлов: 0 добавлений и 10 удалений

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

@ -12396,14 +12396,6 @@
"keyed": true,
"description": "Each key is the message name, with digits removed, from an async message manager message that was rejected for being over approximately 128MB, recorded in the sending process at the time of sending."
},
"SANDBOX_BROKER_INITIALIZED": {
"record_in_processes": ["main", "content"],
"alert_emails": ["bowen@mozilla.com"],
"bug_numbers": [1256992],
"expires_in_version": "55",
"kind": "boolean",
"description": "Result of call to SandboxBroker::Initialize"
},
"SANDBOX_HAS_SECCOMP_BPF": {
"record_in_processes": ["main", "content"],
"alert_emails": ["gcp@mozilla.com"],

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

@ -3365,9 +3365,7 @@ XREMain::XRE_mainInit(bool* aExitFlag)
#if defined(MOZ_SANDBOX) && defined(XP_WIN)
if (mAppData->sandboxBrokerServices) {
SandboxBroker::Initialize(mAppData->sandboxBrokerServices);
Telemetry::Accumulate(Telemetry::SANDBOX_BROKER_INITIALIZED, true);
} else {
Telemetry::Accumulate(Telemetry::SANDBOX_BROKER_INITIALIZED, false);
#if defined(MOZ_CONTENT_SANDBOX)
// If we're sandboxing content and we fail to initialize, then crashing here
// seems like the sensible option.