Bug 1106043 - Search icon doesn't show for some open search providers that had an icon on Firefox 33. r=gavin, a=sledru
authorFlorian Quèze <florian@queze.net>
Mon, 26 Jan 2015 17:12:59 +0100
changeset 243064 f91cc6838063
parent 243063 e63d5e1865db
child 243065 a3202b0fe6a7
push id4378
push userryanvm@gmail.com
push date2015-01-27 15:46 +0000
treeherdermozilla-beta@f91cc6838063 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin, sledru
bugs1106043
milestone36.0
Bug 1106043 - Search icon doesn't show for some open search providers that had an icon on Firefox 33. r=gavin, a=sledru
browser/base/content/urlbarBindings.xml
--- a/browser/base/content/urlbarBindings.xml
+++ b/browser/base/content/urlbarBindings.xml
@@ -1243,17 +1243,17 @@
           let installCallback = {
             onSuccess: function(engine) {
               event.target.hidePopup();
               BrowserSearch.searchBar.openSuggestionsPanel();
             }
           }
           Services.search.addEngine(target.getAttribute("uri"),
                                     Ci.nsISearchEngine.DATA_XML,
-                                    target.getAttribute("src"), false,
+                                    target.getAttribute("image"), false,
                                     installCallback);
         }
       ]]></handler>
 
       <handler event="popuphiding"><![CDATA[
         this._isHiding = true;
         setTimeout(() => {
           this._isHiding = false;