Bug 1428334 - Navigating on about:telemetry frequently opens data:application/json;base64 tabs r=chutten draft
authorJeremy Lempereur <jeremy.lempereur@gmail.com>
Fri, 05 Jan 2018 18:05:09 +0100
changeset 716389 a9cb33d48629
parent 716325 81362f7306fe
child 745023 b6c8194545ad
push id94422
push userbmo:jeremy.lempereur@gmail.com
push dateFri, 05 Jan 2018 17:05:34 +0000
reviewerschutten
bugs1428334, 1427484
milestone59.0a1
Bug 1428334 - Navigating on about:telemetry frequently opens data:application/json;base64 tabs r=chutten Refactored a call to ChromeHangs.render() I forgot while fixing the "Show raw stack data" link (Bug 1427484). MozReview-Commit-ID: 3Ul1wCRhdxG
toolkit/content/aboutTelemetry.js
--- a/toolkit/content/aboutTelemetry.js
+++ b/toolkit/content/aboutTelemetry.js
@@ -2498,17 +2498,17 @@ function displayRichPingData(ping, updat
   let payloadOption = payloadSelect.selectedOptions.item(0);
   let payloadIndex = payloadOption.getAttribute("value");
 
   if (payloadIndex > 0) {
     payload = ping.payload.childPayloads[payloadIndex - 1];
   }
 
   // Show chrome hang stacks
-  ChromeHangs.render(payload);
+  ChromeHangs.render(payload.chromeHangs);
 
   // Show telemetry log.
   TelLog.render(payload);
 
   // Show simple measurements
   SimpleMeasurements.render(payload);
 
 }