mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 996492 - Remove unused globalReport.errors. r=bwc
This commit is contained in:
parent
417a88dbc6
commit
2fd48f767d
@ -368,20 +368,6 @@ function displayStats(globalReport) {
|
||||
document.getElementById('stats').replaceChild(newPcDiv, pcDiv);
|
||||
}
|
||||
});
|
||||
|
||||
globalReport.errors.forEach(function (error) {
|
||||
var pcDivHeading = 'PeerConnection:' + error.pcid;
|
||||
|
||||
var pcDiv = document.getElementById(pcDivHeading);
|
||||
var newPcDiv = buildPcDiv(error, pcDivHeading);
|
||||
newPcDiv.id = pcDivHeading;
|
||||
|
||||
if (pcDiv) {
|
||||
document.getElementById('stats').replaceChild(newPcDiv, pcDiv);
|
||||
} else {
|
||||
document.getElementById('stats').appendChild(newPcDiv);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function onLoad() {
|
||||
|
Loading…
Reference in New Issue
Block a user