Bug 966755 - Network statistics report wrong total download times, r=vp

This commit is contained in:
Girish Sharma 2014-02-03 00:11:54 +05:30
parent e84a8e90a5
commit c281d27a59
2 changed files with 9 additions and 9 deletions

View File

@ -2331,7 +2331,7 @@ PerformanceStatisticsView.prototype = {
sorted: true,
totals: {
size: L10N.getStr("charts.totalSize"),
time: L10N.getStr("charts.totalTime"),
time: L10N.getStr("charts.totalTime2"),
cached: L10N.getStr("charts.totalCached"),
count: L10N.getStr("charts.totalCount")
}
@ -2353,7 +2353,7 @@ PerformanceStatisticsView.prototype = {
sorted: true,
totals: {
size: L10N.getStr("charts.totalSize"),
time: L10N.getStr("charts.totalTime"),
time: L10N.getStr("charts.totalTime2"),
cached: L10N.getStr("charts.totalCached"),
count: L10N.getStr("charts.totalCount")
}
@ -2452,7 +2452,7 @@ PerformanceStatisticsView.prototype = {
let size = L10N.numberWithDecimals(chartItem.size / 1024, CONTENT_SIZE_DECIMALS);
let time = L10N.numberWithDecimals(chartItem.time / 1000, REQUEST_TIME_DECIMALS);
chartItem.size = L10N.getFormatStr("charts.sizeKB", size);
chartItem.time = L10N.getFormatStr("charts.totalMS", time);
chartItem.time = L10N.getFormatStr("charts.totalS", time);
}
return data.filter(e => e.count > 0);

View File

@ -154,9 +154,9 @@ tableChart.empty=Please wait…
# in pie or table charts specifying the size of a request (in kilobytes).
charts.sizeKB=%S KB
# LOCALIZATION NOTE (charts.totalMS): This is the label displayed
# in pie or table charts specifying the time for a request to finish (in milliseconds).
charts.totalMS=%S ms
# LOCALIZATION NOTE (charts.totalS): This is the label displayed
# in pie or table charts specifying the time for a request to finish (in seconds).
charts.totalS=%S s
# LOCALIZATION NOTE (charts.cacheEnabled): This is the label displayed
# in the performance analysis view for "cache enabled" charts.
@ -170,9 +170,9 @@ charts.cacheDisabled=Empty cache
# in the performance analysis view for total requests size, in kilobytes.
charts.totalSize=Size: %S KB
# LOCALIZATION NOTE (charts.totalTime): This is the label displayed
# in the performance analysis view for total requests time, in milliseconds.
charts.totalTime=Time: %S ms
# LOCALIZATION NOTE (charts.totalTime2): This is the label displayed
# in the performance analysis view for total requests time, in seconds.
charts.totalTime2=Time: %S seconds
# LOCALIZATION NOTE (charts.totalCached): This is the label displayed
# in the performance analysis view for total cached responses.