Bug 1381089 - Fix about:telemetry raw JSON display r=chutten
authorflyingrub <flyinggrub@gmail.com>
Mon, 17 Jul 2017 22:11:03 +0200
changeset 417981 4dc2076437aa25cacaf8427124042e3fa193b803
parent 417980 1775a5bf18649a65016a929bb5270978bd14b493
child 417982 5c974dcdddd7b6a7e93e3ca57425c4c111b519dc
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschutten
bugs1381089
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1381089 - Fix about:telemetry raw JSON display r=chutten Display the entire ping instead of just the payload MozReview-Commit-ID: JnNk2AjvTvC
toolkit/content/aboutTelemetry.js
--- a/toolkit/content/aboutTelemetry.js
+++ b/toolkit/content/aboutTelemetry.js
@@ -988,17 +988,17 @@ var StackRenderer = {
 
 var RawPayload = {
   /**
    * Renders the raw payload
    */
   render(aPing) {
     setHasData("raw-ping-data-section", true);
     let pre = document.getElementById("raw-ping-data");
-    pre.textContent = JSON.stringify(aPing.payload, null, 2);
+    pre.textContent = JSON.stringify(aPing, null, 2);
   }
 };
 
 function SymbolicationRequest(aPrefix, aRenderHeader,
                               aMemoryMap, aStacks, aDurations = null) {
   this.prefix = aPrefix;
   this.renderHeader = aRenderHeader;
   this.memoryMap = aMemoryMap;