Set the Vendor string for breakpad. Do it for real this time ;-)
authorFlorian Quèze <florian@instantbird.org>
Fri, 25 Jul 2008 01:06:24 +0200
changeset 13743 134d75c70e9504d0739b93be80904b1ef53dd4ec
parent 13742 ff1531bbf922fa01951424203abab17fea010814
child 13744 a547825a2b49979cddea45d5ac95b4e18f80752b
push id9778
push userflorian@queze.net
push dateSun, 12 Jan 2014 18:25:45 +0000
treeherdercomm-central@f81a23bfefcd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
Set the Vendor string for breakpad. Do it for real this time ;-)
im/app/application.ini
im/base/content/instantbird/blist.js
--- a/im/app/application.ini
+++ b/im/app/application.ini
@@ -52,9 +52,8 @@ MaxVersion=@GRE_MILESTONE@
 EnableExtensionManager=1
 EnableProfileMigrator=1
 
 [Crash Reporter]
 #if MOZILLA_OFFICIAL
 Enabled=1
 #endif
 ServerURL=https://ssl.instantbird.com/reports/submit
-Vendor=Instantbird
--- a/im/base/content/instantbird/blist.js
+++ b/im/base/content/instantbird/blist.js
@@ -160,16 +160,21 @@ var buddyList = {
       var win = blistWindows.getNext();
       if (win != window) {
         win.QueryInterface(Components.interfaces.nsIDOMWindowInternal).focus();
         window.close();
         return;
       }
     }
 
+    // Set the Vendor for breakpad only
+    Components.classes["@mozilla.org/xre/app-info;1"]
+              .getService(Components.interfaces.nsICrashReporter)
+              .annotateCrashReport("Vendor", "Instantbird");
+
     initPurpleCore();
     buddyList.checkNotDisconnected();
     buddyList.checkForIrcAccount();
     addObservers(buddyList, events);
     this.addEventListener("unload", buddyList.unload, false);
   },
   unload: function bl_unload() {
     removeObservers(buddyList, events);