Bug 1551834 - Move legacy autocomplete attributes from shared browser.xul markup to the legacy-urlbar binding. r=mak

Differential Revision: https://phabricator.services.mozilla.com/D31227

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Dão Gottwald 2019-05-15 15:59:56 +00:00
Родитель 32c011ff8e
Коммит 763c907557
2 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -846,14 +846,6 @@
placeholder="&urlbar.placeholder2;"
defaultPlaceholder="&urlbar.placeholder2;"
focused="true"
type="autocomplete"
autocompletesearch="unifiedcomplete"
autocompletesearchparam="enable-actions"
autocompletepopup="PopupAutoCompleteRichResult"
completeselectedindex="true"
tabscrolling="true"
ontextentered="this.handleCommand(param);"
ontextreverted="return this.handleRevert();"
pageproxystate="invalid">
<!-- Use onclick instead of normal popup= syntax since the popup
code fires onmousedown, and hence eats our favicon drag events. -->

Просмотреть файл

@ -57,7 +57,15 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
</binding>
<binding id="legacy-urlbar" extends="chrome://global/content/bindings/autocomplete.xml#autocomplete">
<content newlines="stripsurroundingwhitespace">
<content newlines="stripsurroundingwhitespace"
type="autocomplete"
autocompletesearch="unifiedcomplete"
autocompletesearchparam="enable-actions"
autocompletepopup="PopupAutoCompleteRichResult"
completeselectedindex="true"
tabscrolling="true"
ontextentered="this.handleCommand(param);"
ontextreverted="return this.handleRevert();">
<children includes="box"/>
<xul:moz-input-box anonid="moz-input-box"
tooltip="aHTMLTooltip"