From bacf7c88e08571981eb0b46e356bf7aa0fc87495 Mon Sep 17 00:00:00 2001 From: Blake Kaplan Date: Tue, 18 Apr 2017 11:11:06 -0700 Subject: [PATCH] Bug 1349363 - Track both .processCount and .web to get a complete view of the user's content processes. r=Felipe MozReview-Commit-ID: B9tVLbxnKFd --HG-- extra : rebase_source : 15202ad5ec2c85633690170e4a6eebb0315d2f50 --- toolkit/components/telemetry/TelemetryEnvironment.jsm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toolkit/components/telemetry/TelemetryEnvironment.jsm b/toolkit/components/telemetry/TelemetryEnvironment.jsm index 8ad138a1e24e..6a3bdf7fecae 100644 --- a/toolkit/components/telemetry/TelemetryEnvironment.jsm +++ b/toolkit/components/telemetry/TelemetryEnvironment.jsm @@ -186,7 +186,7 @@ const DEFAULT_ENVIRONMENT_PREFS = new Map([ ["devtools.debugger.remote-enabled", {what: RECORD_PREF_VALUE}], ["dom.ipc.plugins.asyncInit.enabled", {what: RECORD_PREF_VALUE}], ["dom.ipc.plugins.enabled", {what: RECORD_PREF_VALUE}], - ["dom.ipc.processCount", {what: RECORD_PREF_VALUE, requiresRestart: true}], + ["dom.ipc.processCount", {what: RECORD_PREF_VALUE}], ["dom.max_script_run_time", {what: RECORD_PREF_VALUE}], ["experiments.manifest.uri", {what: RECORD_PREF_VALUE}], ["extensions.autoDisableScopes", {what: RECORD_PREF_VALUE}], @@ -1237,6 +1237,7 @@ EnvironmentCache.prototype = { this._currentEnvironment.settings = { blocklistEnabled: Preferences.get(PREF_BLOCKLIST_ENABLED, true), e10sEnabled: Services.appinfo.browserTabsRemoteAutostart, + e10sMultiProcesses: Services.appinfo.maxWebProcessCount, e10sCohort: Preferences.get(PREF_E10S_COHORT, "unknown"), telemetryEnabled: Utils.isTelemetryEnabled, locale: getBrowserLocale(),