Bug 1489440 - Disable autocomplete in the XUL autocomplete bindings. r=dao
authorEmilio Cobos Álvarez <emilio@crisal.io>
Mon, 21 Jan 2019 21:54:26 +0000
changeset 514758 605d15524a488ee41d9566f1f48904798cb188a8
parent 514757 0d9a334f6ae8011d712a69c751aabd81e31764c7
child 514759 744ba6ab5e0cde764faaf12f79072b3dd2681a99
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1489440
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1489440 - Disable autocomplete in the XUL autocomplete bindings. r=dao With the patch above we do find the input element, and try to autocomplete it normally, which confuses some tests. Differential Revision: https://phabricator.services.mozilla.com/D17143
toolkit/content/widgets/autocomplete.xml
--- a/toolkit/content/widgets/autocomplete.xml
+++ b/toolkit/content/widgets/autocomplete.xml
@@ -13,16 +13,17 @@
            extends="chrome://global/content/bindings/textbox.xml#textbox">
     <content sizetopopup="pref">
       <children includes="image|box"/>
 
       <xul:moz-input-box anonid="moz-input-box" flex="1">
         <children/>
         <html:input anonid="input" class="textbox-input"
                     allowevents="true"
+                    autocomplete="off"
                     xbl:inherits="value,type=inputtype,maxlength,disabled,size,readonly,placeholder,tabindex,accesskey,mozactionhint"/>
       </xul:moz-input-box>
       <children includes="hbox"/>
 
       <xul:popupset anonid="popupset" class="autocomplete-result-popupset"/>
     </content>
 
     <implementation implements="nsIAutoCompleteInput, nsIDOMXULMenuListElement">