Bug 1556566 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Once this and bug 1556561 are fixed, the `autocomplete` binding will essentially be an HTML input with an extra popupset, making it very easy for bug 1534455 to convert `<textbox type="autocomplete"/>` to a simple customized input element `<html:input is="autocomplete"/>`.

In order to fix this, it's possible to add `textbox[type="autocomplete"]` to https://searchfox.org/mozilla-central/source/toolkit/content/editMenuOverlay.js#66-69 . However, the more tricky part is that `legacy-urlbar` in `urlbarBindings.xml` and `searchbar-textbox`, which are both based on `autocomplete`, both add their own context menu items to their edit menu.
Once this and bug 1556561 are fixed, the `autocomplete` binding will essentially be an HTML input with an extra popupset, making it very easy for bug 1534455 to convert `<textbox type="autocomplete"/>` to a simple customized input element `<html:input is="autocomplete"/>`.

In order to fix this, it's possible to add `textbox[type="autocomplete"]` to https://searchfox.org/mozilla-central/source/toolkit/content/editMenuOverlay.js#66-69 . However, the more tricky part is that ~~`legacy-urlbar` in `urlbarBindings.xml` and~~ `searchbar-textbox`, which are both based on `autocomplete`, both add their own context menu items to their edit menu.

Back to Bug 1556566 Comment 0