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 id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
milestone2.0b6pre
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();