Bug 1167456 - Fix TelemetryController submitting non-identical pings under the same ping id. r=gfritzsche a=sledru
authorAlessio Placitelli <alessio.placitelli@gmail.com>
Wed, 03 Jun 2015 02:59:00 +0200
changeset 275145 991fdc10eeae5591e20ba3fa3ca4f85c63c7bd88
parent 275144 5f544f1f1c63b5447a1c701847edcb61a96b0487
child 275146 26c217fc9104c0921fd48af76fbfe71c5542d306
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgfritzsche, sledru
bugs1167456
milestone40.0a2
Bug 1167456 - Fix TelemetryController submitting non-identical pings under the same ping id. r=gfritzsche a=sledru
toolkit/components/telemetry/TelemetryController.jsm
--- a/toolkit/components/telemetry/TelemetryController.jsm
+++ b/toolkit/components/telemetry/TelemetryController.jsm
@@ -455,17 +455,17 @@ let Impl = {
 
     // Fill the common ping fields.
     let pingData = {
       type: aType,
       id: generateUUID(),
       creationDate: (Policy.now()).toISOString(),
       version: PING_FORMAT_VERSION,
       application: this._getApplicationSection(),
-      payload: aPayload,
+      payload: payload,
     };
 
     if (aOptions.addClientId) {
       pingData.clientId = this._clientID;
     }
 
     if (aOptions.addEnvironment) {
       pingData.environment = aOptions.overrideEnvironment || TelemetryEnvironment.currentEnvironment;