Bug 1119327 - Only log the name of the search engine in UITelemetry. r=jchen.
authorBlake Winton <bwinton@latte.ca>
Thu, 08 Jan 2015 14:08:36 -0500
changeset 240013 3c61d595997e4b80a1eb5e385e7b0ca3fd7d9d96
parent 240012 4f0b4498fae5b14b7444bb539cfcfa0a41c543ab
child 240014 84aee740b55a35a9ea1c2c2b15f91702cde8a327
push id7472
push userraliiev@mozilla.com
push dateMon, 12 Jan 2015 20:36:27 +0000
treeherdermozilla-aurora@300ca104f8fb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjchen
bugs1119327
milestone37.0a1
Bug 1119327 - Only log the name of the search engine in UITelemetry. r=jchen.
browser/modules/BrowserUITelemetry.jsm
--- a/browser/modules/BrowserUITelemetry.jsm
+++ b/browser/modules/BrowserUITelemetry.jsm
@@ -551,17 +551,17 @@ this.BrowserUITelemetry = {
         visibleTabs.push(visibleTabsNum);
         hiddenTabs.push(someWin.gBrowser.tabs.length - visibleTabsNum);
       }
     }
     result.visibleTabs = visibleTabs;
     result.hiddenTabs = hiddenTabs;
 
     if (Components.isSuccessCode(searchResult)) {
-      result.currentSearchEngine = Services.search.currentEngine;
+      result.currentSearchEngine = Services.search.currentEngine.name;
     }
 
     return result;
   },
 
   getToolbarMeasures: function() {
     let result = this._firstWindowMeasurements || {};
     result.countableEvents = this._countableEvents;