mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1034138 - c. Display thread hang native stack in about:telemetry if available; r=vladan
This commit is contained in:
parent
7113d12dc4
commit
6dfdc5a900
@ -443,7 +443,8 @@ let ThreadHangStats = {
|
||||
let hangDiv = Histogram.render(
|
||||
div, hangName, hang.histogram, {exponential: true});
|
||||
let stackDiv = document.createElement("div");
|
||||
hang.stack.forEach((frame) => {
|
||||
let stack = hang.nativeStack || hang.stack;
|
||||
stack.forEach((frame) => {
|
||||
stackDiv.appendChild(document.createTextNode(frame));
|
||||
// Leave an extra <br> at the end of the stack listing
|
||||
stackDiv.appendChild(document.createElement("br"));
|
||||
|
Loading…
Reference in New Issue
Block a user