Bug 1192505 - location bar suggestions disappear if mouse moves. r=adw a=sylvestre
authorMarco Bonardo <mbonardo@mozilla.com>
Wed, 21 Oct 2015 09:40:00 +0200
changeset 289614 28e133a79f2e
parent 289613 2c672ff8f3fb
child 289615 45ab7cdffbb4
push id5222
push usercbook@mozilla.com
push date2015-10-22 14:37 +0000
treeherdermozilla-beta@28e133a79f2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersadw, sylvestre
bugs1192505
milestone42.0
Bug 1192505 - location bar suggestions disappear if mouse moves. r=adw a=sylvestre
browser/base/content/urlbarBindings.xml
--- a/browser/base/content/urlbarBindings.xml
+++ b/browser/base/content/urlbarBindings.xml
@@ -1878,25 +1878,16 @@ file, You can obtain one at http://mozil
             }
           ]]>
         </body>
       </method>
 
     </implementation>
     <handlers>
 
-      <handler event="select"><![CDATA[
-        // When the user selects one of matches, stop the search to avoid
-        // changing the underlying result unexpectedly.
-        if (!this._ignoreNextSelect && this.selectedIndex >= 0) {
-          let controller = this.view.QueryInterface(Components.interfaces.nsIAutoCompleteController);
-          controller.stopSearch();
-        }
-      ]]></handler>
-
       <handler event="mousedown"><![CDATA[
         // Required to make the xul:label.text-link elements in the search
         // suggestions notification work correctly when clicked on Linux.
         // This is copied from the mousedown handler in
         // browser-search-autocomplete-result-popup, which apparently had a
         // similar problem.
         event.preventDefault();
       ]]></handler>