Bug 1381089 - Fix about:telemetry raw JSON display r=chutten
authorflyingrub <flyinggrub@gmail.com>
Mon, 17 Jul 2017 22:11:03 +0200
changeset 369232 4dc2076437aa25cacaf8427124042e3fa193b803
parent 369231 1775a5bf18649a65016a929bb5270978bd14b493
child 369233 5c974dcdddd7b6a7e93e3ca57425c4c111b519dc
push id46619
push userryanvm@gmail.com
push dateMon, 17 Jul 2017 21:49:30 +0000
treeherderautoland@4dc2076437aa [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;