diff --git a/toolkit/content/aboutTelemetry.js b/toolkit/content/aboutTelemetry.js index 203db2b2fe22..af51954610ef 100755 --- a/toolkit/content/aboutTelemetry.js +++ b/toolkit/content/aboutTelemetry.js @@ -1060,16 +1060,15 @@ var ChromeHangs = { /** * Renders raw chrome hang data */ - render: function ChromeHangs_render(payload) { - let hangs = payload.chromeHangs; - setHasData("chrome-hangs-section", !!hangs); - if (!hangs) { + render: function ChromeHangs_render(chromeHangs) { + setHasData("chrome-hangs-section", !!chromeHangs); + if (!chromeHangs) { return; } - let stacks = hangs.stacks; - let memoryMap = hangs.memoryMap; - let durations = hangs.durations; + let stacks = chromeHangs.stacks; + let memoryMap = chromeHangs.memoryMap; + let durations = chromeHangs.durations; StackRenderer.renderStacks("chrome-hangs", stacks, memoryMap, (index) => this.renderHangHeader(index, durations)); @@ -2055,7 +2054,7 @@ function setupListeners() { return; } - ChromeHangs.render(gPingData); + ChromeHangs.render(gPingData.payload.chromeHangs); }); document.getElementById("captured-stacks-fetch-symbols").addEventListener("click",