Backed out changeset 36b5ab89ae64 (bug 835785) for mochitest orange.
authorRyan VanderMeulen <ryanvm@gmail.com>
Mon, 04 Feb 2013 08:03:24 -0500
changeset 120743 01361f5fda963e3dbc2f58366450d6f728ba837e
parent 120742 e0cdaff13f73db91c6613f74123f04d14212e4c4
child 120744 75a6ebf32b41301daecb248ce0a099bd11ee5546
push id22390
push userryanvm@gmail.com
push dateMon, 04 Feb 2013 13:03:33 +0000
treeherdermozilla-inbound@01361f5fda96 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs835785
milestone21.0a1
backs out36b5ab89ae64ee4343e275b5c55e05be6ed8d9da
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
Backed out changeset 36b5ab89ae64 (bug 835785) for mochitest orange.
toolkit/crashreporter/content/crashes.js
--- a/toolkit/crashreporter/content/crashes.js
+++ b/toolkit/crashreporter/content/crashes.js
@@ -121,25 +121,23 @@ function populateReportList() {
     }
   }
 
   pendingDir = directoryService.get("UAppData", Ci.nsIFile);
   pendingDir.append("Crash Reports");
   pendingDir.append("pending");
 
   if (pendingDir.exists() && pendingDir.isDirectory()) {
-    var uuidRegex = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
     var entries = pendingDir.directoryEntries;
     while (entries.hasMoreElements()) {
       var file = entries.getNext().QueryInterface(Ci.nsIFile);
       var leaf = file.leafName;
-      var id = leaf.slice(0, -4);
-      if (leaf.substr(-4) == ".dmp" && uuidRegex.test(id)) {
+      if (leaf.substr(-4) == ".dmp") {
         var entry = {
-          id: id,
+          id: leaf.slice(0, -4),
           date: file.lastModifiedTime,
           pending: true
         };
         var pos = findInsertionPoint(reports, entry.date);
         reports.splice(pos, 0, entry);
       }
     }
   }