about:startup - remove alert
authorDaniel Brooks <db48x@db48x.net>
Sun, 19 Sep 2010 12:12:02 -0400
changeset 58850 201318cf1908440de996ad1977846702ad4e141f
parent 58849 9230d155978deaa4773a91c2c64f4a398ad6aaf5
child 58851 76c3a602011f97d3f3d7170a0670db2c599eb9a5
push id17440
push userdb48x@yahoo.com
push dateWed, 08 Dec 2010 04:15:54 +0000
treeherdermozilla-central@a89f24bf1798 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone2.0b6pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
about:startup - remove alert
toolkit/content/aboutStartup.js
--- a/toolkit/content/aboutStartup.js
+++ b/toolkit/content/aboutStartup.js
@@ -118,17 +118,17 @@ let work = (function()
   populateEvents();
   yield;
 })();
 
 function go()
 {
   try {
     work.next();
-  } catch (x) {
+  } catch (x if x instanceof StopIteration) {
     // harmless
   }
 }
 
 go();
 
 function populateMeasurements()
 {
@@ -213,19 +213,18 @@ function populateEvents()
         {
           hasresults = true;
           let stamp = row.getResultByName("timestamp"),
               id = row.getResultByName("id"),
               extension = extensions.get(id),
               name = extension ? extension.name : row.getResultByName("name"),
               version = row.getResultByName("version"),
               action = row.getResultByName("action");
-          alert([id, name, row.getResultByName("name")].toSource());
+
           options.grid.markings.push(extensionMark(stamp, formatExtension(action, name, version)));
-
           table.appendChild(tr(td(formatstamp(stamp)),
                                td(action),
                                td(name),
                                td(id),
                                td(version)));
         }
         if (hasresults)
           $("#events-table > .empty").hide();