Bug 996492 - Remove unused globalReport.errors. r=bwc

This commit is contained in:
Jan-Ivar Bruaroey 2014-06-08 22:35:44 -04:00
parent 417a88dbc6
commit 2fd48f767d

View File

@ -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() {