about:startup - hide the platform version/build fields from the duration table, because in Firefox the platform version changes only when the app version changes

This commit is contained in:
Daniel Brooks 2010-09-13 09:51:33 -04:00
Родитель ebfcb6416a
Коммит 6dbd118bf3
2 изменённых файлов: 4 добавлений и 6 удалений

Просмотреть файл

@ -132,7 +132,7 @@ go();
function populateMeasurements()
{
var query = db.createStatement("SELECT timestamp, launch, startup, appVersion, appBuild, platformVersion, platformBuild FROM duration");
var query = db.createStatement("SELECT timestamp, launch, startup, appVersion, appBuild, FROM duration");
var lastver, lastbuild;
query.executeAsync({
handleResult: function(results)
@ -164,9 +164,7 @@ function populateMeasurements()
td(formatms(msFromµs(s))),
td(formatms(msFromµs((l + s)))),
td(version),
td(build),
td(row.getResultByName("platformVersion")),
td(row.getResultByName("platformBuild"))));
td(build)));
}
if (hasresults)
$("#duration-table > .empty").hide();

Просмотреть файл

@ -46,9 +46,9 @@
<th>&about.startup.duration.launch;</th>
<th>&about.startup.duration.startup;</th>
<th>&about.startup.duration.ready;</th>
<th colspan="4">&about.startup.version;</th>
<th colspan="2">&about.startup.version;</th>
</tr>
<tr class="empty"><td colspan="8"><i>&about.startup.noevents;</i></td></tr>
<tr class="empty"><td colspan="6"><i>&about.startup.noevents;</i></td></tr>
</table>
<table id="event-table">
<tr><th>&about.startup.timestamp;</th><th>&about.startup.eventdesc;</th></tr>