From 1851ac1d496f5f21298449c934d25357c5973e6a Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Mon, 20 Feb 2012 08:04:28 +0100 Subject: [PATCH] Bug 718738 - Send all StartupInfo values in telemetry ping. r=tglek --- toolkit/components/telemetry/TelemetryPing.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolkit/components/telemetry/TelemetryPing.js b/toolkit/components/telemetry/TelemetryPing.js index 4673b3011b3..12e69eeadf0 100644 --- a/toolkit/components/telemetry/TelemetryPing.js +++ b/toolkit/components/telemetry/TelemetryPing.js @@ -117,8 +117,8 @@ function getSimpleMeasurements() { } catch (ex) {} if (si.process) { - for each (let field in ["main", "firstPaint", "sessionRestored"]) { - if (!(field in si)) + for each (let field in Object.keys(si))]) { + if (field == "process") continue; ret[field] = si[field] - si.process }