# HG changeset patch # User Jan-Erik Rediger # Date 1521455605 -3600 # Node ID 4d006cb03572233dddd2fe005a681097e2f6c8be # Parent 7a2e6a3c38aa5a12d3716c0d3f503a50c55c6aca Bug 1443599 - Stop reporting legacy Telemetry component `childPayloads`. r=chutten diff --git a/toolkit/components/telemetry/TelemetrySession.jsm b/toolkit/components/telemetry/TelemetrySession.jsm --- a/toolkit/components/telemetry/TelemetrySession.jsm +++ b/toolkit/components/telemetry/TelemetrySession.jsm @@ -1280,20 +1280,16 @@ var Impl = { // Adding captured stacks to the payload only if any exist and clearing // captures for this sub-session. let stacks = protect(() => Telemetry.snapshotCapturedStacks(true)); if (stacks && ("captures" in stacks) && (stacks.captures.length > 0)) { payloadObj.processes.parent.capturedStacks = stacks; } } - if (this._childTelemetry.length) { - payloadObj.childPayloads = protect(() => this.getChildPayloads()); - } - return payloadObj; }, /** * Start a new subsession. */ startNewSubsession() { this._subsessionStartDate = Policy.now();