Index: content/browser/resources/media/stats_graph_helper.js |
diff --git a/content/browser/resources/media/stats_graph_helper.js b/content/browser/resources/media/stats_graph_helper.js |
index c56ab72e16467db7c84eacb560d98d2f4ff86ee7..2fe41147f9cd6810fdf1e8cd40a6d99504da1907 100644 |
--- a/content/browser/resources/media/stats_graph_helper.js |
+++ b/content/browser/resources/media/stats_graph_helper.js |
@@ -88,6 +88,9 @@ function drawSingleReport(peerConnectionElement, reportName, singleReport) { |
for (var i = 0; i < singleReport.values.length - 1; i = i + 2) { |
var rawLabel = singleReport.values[i]; |
var rawValue = parseInt(singleReport.values[i + 1]); |
+ if (isNaN(rawValue)) |
+ return; |
+ |
var rawDataSeriesId = |
peerConnectionElement.id + '-' + reportName + '-' + rawLabel; |