Bug 1248796 - Store on Telemetry whether the e10s blocking code successfully ran. r=gftrizsche data-r=bsmedberg

This commit is contained in:
Felipe Gomes 2016-02-18 00:53:48 -02:00
parent fc3e7f26ce
commit c2664451e7
2 changed files with 11 additions and 0 deletions

View File

@ -8426,6 +8426,14 @@
"kind": "boolean",
"description": "Whether the e10s pref was set but it was blocked from running due to blacklisted conditions"
},
"E10S_ADDONS_BLOCKER_RAN": {
"alert_emails": ["firefox-dev@mozilla.org"],
"expires_in_version": "48",
"kind": "flag",
"releaseChannelCollection": "opt-out",
"bug_numbers": [1248796],
"description": "Whether the code to block e10s for add-ons users was called",
},
"BLOCKED_ON_PLUGIN_MODULE_INIT_MS": {
"alert_emails": ["perf-telemetry-alerts@mozilla.com"],
"expires_in_version": "50",

View File

@ -4765,6 +4765,9 @@ mozilla::BrowserTabsRemoteAutostart()
mozilla::Telemetry::Accumulate(mozilla::Telemetry::E10S_BLOCKED_FROM_RUNNING,
!gBrowserTabsRemoteAutostart);
}
if (Preferences::HasUserValue("extensions.e10sBlockedByAddons")) {
mozilla::Telemetry::Accumulate(mozilla::Telemetry::E10S_ADDONS_BLOCKER_RAN, true);
}
return gBrowserTabsRemoteAutostart;
}