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 223100 3c61d595997e4b80a1eb5e385e7b0ca3fd7d9d96
parent 223099 4f0b4498fae5b14b7444bb539cfcfa0a41c543ab
child 223101 84aee740b55a35a9ea1c2c2b15f91702cde8a327
push id10762
push userflorian@queze.net
push dateSun, 11 Jan 2015 19:51:35 +0000
treeherderfx-team@3c61d595997e [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;